I have seen some java code in a function as below, I know about Interface PublicAPI,
but first time see the PegaAPI, is PegaAPI also a Interface? I can’t find where it is.
PegaAPI pega = (PegaAPI)tools;
java.util.Set pagesSet=new java.util.HashSet(); pagesSet.addAll(pega.getSystemOperationsProvider().getRemoteClipboardAPI().getThreadDeclarativePageNames(nodeID, requestorID,currentThreadName));
Do we have any link from where we can understand what is PegaAPI and the Method Detail?
PegaAPI
getSystemOperationsProvider(),
getRemoteClipboardAPI(),
getThreadDeclarativePageNames()
Thanks in advance.
@zhangh16666066
This link will help you to understand about Pega API OOTB.
PEGA API
Thanks,
Somil
@zhangh16666066 - In the code snippet provided below, “PegaAPI” is a typecast. It’s used to ensure that the “tools” object is treated as an instance of the “PegaAPI” interface. Again as you mentioned tools is a PublicAPI and its treated as an instance of PegaAPI interface.
PegaAPI pega = (PegaAPI)tools;
Thank you.
@Priyanka Boga
Hi Priyanka, thanks for your response .
Do you know where I can find the Detail about PegaApi method like PublicApi in attachment?
getSystemOperationsProvider(),
getRemoteClipboardAPI(),
getThreadDeclarativePageNames()
@zhangh16666066 - Sorry, I couldn’t find any articles related to what these functions does.
Thank you.