public interface ServiceUtils
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
LOCAL_EJB_REFS |
static java.lang.String |
MDTYPE_JSON |
static java.lang.String |
MDTYPE_WSDL |
static java.lang.String |
MDTYPE_XML |
static java.lang.String |
MDTYPE_XSD |
static java.lang.String |
REMOTE_EJB_REFS |
static java.lang.String |
RESOURCE_REFS |
static java.lang.String |
RULEGEN_PURPOSE_DATA_MODEL |
static java.lang.String |
RULEGEN_PURPOSE_DOTNET_CONNECTORS |
static java.lang.String |
RULEGEN_PURPOSE_REST_CONNECTORS |
static java.lang.String |
RULEGEN_PURPOSE_SAP_CONNECTORS |
static java.lang.String |
RULEGEN_PURPOSE_SOAP_CONNECTORS |
static java.lang.String |
RULEGEN_PURPOSE_XSD |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
activateCORBAObject(java.lang.String aIRef,
java.lang.String aUserName,
java.lang.String aPassword,
java.lang.String aJNDIName)
Deprecated.
CORBA no longer supported
|
java.lang.String |
activateCORBAObject(java.lang.String aIRef,
java.lang.String aUserName,
java.lang.String aPassword,
java.lang.String aJNDIName,
java.lang.String aRemoteHost,
java.lang.String aRemotePort)
Deprecated.
CORBA no longer supported
|
void |
buildXMLTree(java.lang.String aClassName,
ClipboardPage aTreePage,
ClipboardPage dataOptionsPage)
Populate a clipboard page with embedded page content that can be used
as the data structure for a tree view display of a complex XML element.
|
void |
buildXMLTree(java.lang.String aElemName,
java.lang.String aElemNS,
java.lang.String aClassName,
XSDComplexTypeDefinition aTypeDef,
ClipboardPage aTreePage)
Populate a clipboard page with embedded page content that can be used
as the data structure for a tree view display of a complex XML element.
|
void |
buildXMLTree(java.lang.String aElemName,
java.lang.String aElemNS,
XSDComplexTypeDefinition aTypeDef,
ClipboardPage aTreePage)
Populate a clipboard page with embedded page content that can be used
as the data structure for a tree view display of a complex XML element.
|
void |
buildXMLTree(java.lang.String aClassName,
XSDElementDeclaration aElemDecl,
ClipboardPage aTreePage)
Populate a clipboard page with embedded page content that can be used
as the data structure for a tree view display of a complex XML element.
|
void |
buildXMLTree(XSDElementDeclaration aElemDecl,
ClipboardPage aTreePage)
Populate a clipboard page with embedded page content that can be used
as the data structure for a tree view display of a complex XML element.
|
void |
clearRequestorPool(java.lang.String aPackage)
Clear the requestor pool associated with the service package key.
|
void |
configureMappingRules(XSDComponentBuilder aBuilder,
StringMap aOptions,
ClipboardProperty aRuleList)
Configure XML mapping rules that have already been added to the rule list.
|
java.lang.String |
convertDTDToXSD(java.lang.String aURL)
Convert a DTD file to XML Schema.
|
int |
countChildNodes(XSDComplexTypeDefinition aTypeDef)
Traverse the content of a complex type definition to count
the number of child element and attribute nodes.
|
int |
countChildNodes(XSDElementDeclaration aElemDecl)
Traverse the complex content of an element declaration to count
the number of child element and attribute nodes.
|
java.lang.String |
createEJBComponent(java.lang.String aPackage,
java.lang.String aClass)
Generate, compile, and JAR a deployable EJB service client.
|
java.lang.String |
createEJBComponent(java.lang.String aPackage,
java.lang.String aClass,
java.lang.String aEjbVersion)
Generate, compile, and JAR a deployable EJB service client.
|
java.lang.String |
createMDBComponent(ClipboardPage aJMSListenerPage)
Generate, compile, and JAR a deployable MDB for JMS MDB Listener.
|
java.lang.String |
createPackageIDL(java.lang.String aPackage)
Deprecated.
|
java.lang.String |
createPortletComponent(java.lang.String aPackage,
java.lang.String aClass)
Generate, compile, and JAR a deployable JSR-168 Portlet.
|
java.lang.String |
createPortletComponent(java.lang.String aPackage,
java.lang.String aClass,
java.lang.String aDeployment)
Generate, compile, and JAR a deployable Portlet.
|
java.lang.String |
createPRObjectWrapperImpl()
Deprecated.
|
java.lang.String |
createSampleXMLInstance(ClipboardPage aTreePage,
boolean aIsEncoded)
Create a sample XML instance using the XML metadata derived from the
given clipboard page.
|
java.lang.String |
createSOAPRequestEnvelope(ClipboardPage aServiceRule)
Create a sample SOAP request envelope to be used as input for
performing a SOAP service simulation.
|
void |
createWSDL(StringMap aParams,
ClipboardPage aListPage)
Generate and return the WSDL for a SOAP service class.
|
void |
createWSDL(StringMap aParams,
java.util.List aMethodList)
Generate and return the WSDL for a SOAP service class.
|
java.lang.String |
createWSDL(java.lang.String aPackage,
java.lang.String aClass)
Deprecated.
|
java.lang.String |
createWSDL(java.lang.String aPackage,
java.lang.String aClass,
java.lang.String aServiceType)
Deprecated.
|
java.lang.String |
createXSDforJavaClass(java.lang.String aClassName,
java.util.List aFieldNames)
Create an XML Schema that describes the specified java class.
|
java.lang.String |
createXSDforJavaClass(java.lang.String aClassName,
java.util.List aFieldNames,
boolean aGenerateAppPages)
Create an XML Schema that describes the specified java class.
|
boolean |
deactivateCORBAObject(java.lang.String aIOR)
Deprecated.
CORBA no longer supported
|
java.lang.String |
decodePassword(java.lang.String aData)
Base64 decode and convert a protected password value.
|
ClipboardPage |
deleteSavedRecords(ClipboardPage aSummaryPage,
java.util.Set aRecordTypes,
boolean aPurgeLogs)
Deletes the records generated by RuleSaver
|
java.lang.String |
dereferenceEndpoint(java.lang.String aURL,
java.util.Map<java.lang.String,java.lang.String> aResourceParamValsMap,
com.google.common.collect.Multimap<java.lang.String,java.lang.String> aQueryParamMap,
boolean aSkipBlankQueryValues)
Dereference placeholders of they for {key} and encode the given URL
|
java.lang.Object |
deserializeObject(java.lang.String aDataVal)
Base64 decode and deserialize the given data value.
|
java.lang.String |
encodeQueryStringPart(java.lang.String aPartText)
Formats and encodes a String such that it is valid as part of the query string of a URL.
|
java.lang.String |
encodeResourcePathPart(java.lang.String aPartText)
Formats and encodes a String such that it is valid as part of the resource path of a URI/URL.
|
void |
evaluateRulesFromMetadata(ClipboardPage aGenerationRequest,
ParameterPage aParams,
ClipboardPage aResultPage)
Deprecated.
- use generateRulesFromMetadata method with generation request parameter:
pyEvaluate = true
|
void |
executeRESTRequest(java.util.Map aCommonParamsMap)
Trimmed version to invoke REST services.
|
void |
executeServiceSimulation(ClipboardPage aSimulationData)
Execute a service rule using the input data on the provided clipboard page.
|
void |
executeSOAPRequest(java.util.List aModulesList,
java.util.Map aCommonParamsMap)
Centralized logic to invoke SOAP services.
|
void |
findSubstitutions(XSDComplexTypeDefinition aTypeDef,
ClipboardProperty aTypeList,
ClipboardProperty aElemList)
Traverse the content of a complex type definition to locate
any complex type or element declarations that may by substituted
at runtime.
|
void |
findSubstitutions(XSDElementDeclaration aElemDecl,
ClipboardProperty aTypeList,
ClipboardProperty aElemList)
Traverse the complex content of an element declaration to locate
any complex type or element declarations that may by substituted
at runtime.
|
void |
generateEJBTestClient(java.util.HashMap aBindings,
java.util.List aCreateParamClasses,
java.util.List aRemoteParamClasses)
Generates stand-alone Java test program to test Rule-Connect-EJB instance connectivity
|
void |
generateMappingRules(XSDComponentBuilder aBuilder,
java.util.List aElemNames,
StringMap aOptions,
ClipboardProperty aRuleList)
Generate rules for the given set of element names.
|
java.lang.String |
generateMDBDescriptor(ClipboardPage aJMSListenerPage)
Generate MDB EJB Deployment Descriptor for Rule-Service-JMS Listener
|
void |
generatePegaDataModelFromSampleXMLInstances(ClipboardPage aGenerationRequest,
ParameterPage aParams)
Deprecated.
- use generateRulesFromMetadata method with generation request parameters:
pyMetadataType = "XML" and pyGenerationPurpose = "DataModel"
|
void |
generateRulesFromJsonStream(ClipboardPage aGenerationRequest,
ParameterPage aParams)
Deprecated.
- use generateRulesFromMetadata method with generation request parameters:
pyMetadataType = "JSON" and pyGenerationPurpose = "DataModel"
|
void |
generateRulesFromMetadata(ClipboardPage aGenerationRequest,
ParameterPage aParams)
Generate Rules from a metadata source
|
void |
generateStreamRuleContent(ClipboardPage aRulePage)
Create the JSP stream content for a Rule-Obj-XML rule instance using
the XML metadata derived from the tree view rule data of the given
rule instance page.
|
java.beans.PropertyDescriptor[] |
getBeanPropertyDescr(java.lang.String aClassName)
Get JavaBean property descriptors.
|
java.lang.String |
getCharset(java.lang.String aContentType)
Obtain the character encoding from the value of a Content-Type HTTP header
|
java.util.Map<java.lang.String,java.lang.String> |
getCMISRepositories(java.lang.String aServerName,
java.lang.String aServerClass,
java.lang.String aServerType)
Retrieve a map of CMIS repositories.
|
java.util.Map<java.lang.String,java.lang.String> |
getCMISRepositoriesJSON(java.lang.String aConnectorInstanceKey,
java.lang.String aClipboardPageJSON,
java.lang.String aServerType)
Retrieve a map of CMIS repositories, using the Clipboard page JSON to recreate the page if the instance is not in the database.
|
java.util.HashMap |
getCredentials(java.util.List keyList,
ClipboardPage aAuthPage,
ClipboardPage aObjPage)
fetch property values from authentication profiles, accounting for indirection and encryption.
|
java.lang.Class |
getDynamicClass(java.lang.String aDataType,
boolean aClearCache)
Use the PegaRULES classloader to return the java class
identified by the given string value.
|
java.lang.Class[] |
getEJBInterface(javax.naming.Context aContext,
java.lang.String aBindingName,
boolean isLocal)
Use the JNDI server to look up the EJB home and remote interface classes.
|
java.lang.Class |
getJavaClass(java.lang.String aDataType)
Return the java class identified by the given string value.
|
java.util.HashMap |
getJMSConfigFollowingSojSpec(ClipboardPage aConnectorPage,
java.lang.String aEndPointURL)
fetch SOAP over JMS config as per SOJ spec
|
javax.naming.Context |
getJNDIContext(ClipboardPage aServerPage)
Get the JNDI server initial context object.
|
javax.naming.Context |
getJNDIContext(ClipboardPage aServerPage,
boolean isLocal)
Get the JNDI server initial context object.
|
java.util.List |
getMappingFunctions(java.lang.String aLibrary,
java.lang.String[] aParamTypes,
java.lang.String aReturnType)
Browse and apply rule-resolution to obtain a list of all utility functions
for the given library that have a matching type-signature.
|
com.pega.pegarules.priv.integration.connect.MessageProcessor |
getMessageProcessor(ClipboardPage myStepPage,
java.lang.String serverName)
Get Message Processor
|
java.lang.Object |
getOutboundClipboardValue(java.lang.String aMapFromKey,
java.lang.String aDataType,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map Clipboard property value to outbound object value
|
java.util.Map |
getReponseData(java.lang.Object aResponse,
ClipboardPage aAttachPage,
StringMap aOptions)
Deprecated.
|
java.util.Map |
getResponseData(java.lang.Object aResponse,
ClipboardPage aAttachPage,
StringMap aOptions)
Get HTTP Response data from an HTTP Response object
The resulting map may or may not contain the following data:
KEY: Description:
---------------------------------------------------------------------------------
body (Object): String or Byte Array containing response body
size (int): size of response body
charset (String): character encoding of response body
contentType (String): value of Content-Type header
contentDisposition (Sring): vaue of Content-Disposition header
|
java.util.List<java.lang.String> |
getSavedRecordHandles(ClipboardPage aSummaryPage,
java.util.Set aRecordTypes)
Obtains a List of handles for records saved by a RuleSaver object
Placeholder handles are used for records that are missing from the database.
|
javax.net.ssl.SSLSocketFactory |
getSecureSocketFactory(java.lang.String aTrustStoreName,
java.lang.String aKeystoreName,
java.lang.String aLowestProtocol)
Creates an
SSLSocketFactory that works in accordance with Pega Standards. |
java.util.Map |
getServiceClasses(java.lang.String aType,
java.lang.String aPackage)
Browse and apply rule-resolution to obtain lists of all service methods
for all classes of the given service package key.
|
java.util.Map |
getServiceClasses(java.lang.String aType,
java.lang.String aPackage,
java.lang.String aAccessGroup)
Browse and apply rule-resolution to obtain lists of all service methods
for all classes of the given service package key and access group
The returned map contains java.util.List elements, keyed by class name.
|
ClipboardPage |
getServiceMethod(java.lang.String aType,
java.lang.String aPackage,
java.lang.String aClass,
java.lang.String aMethod)
Look up a service method instance for the given service package, class,
and method keys using the rulesets visible to the package access group.
|
java.util.List |
getServiceMethods(java.lang.String aType,
java.lang.String aPackage,
java.lang.String aClass)
Browse and apply rule-resolution to obtain a list of all service methods
for the given service package and class keys.
|
java.util.List |
getServiceTypes(java.lang.String aPackage)
Browse and apply rule-resolution to obtain a list of all service types
for the given service package key
|
java.util.List |
getServiceTypes(java.lang.String aPackage,
java.lang.String aAccessGroup)
Browse and apply rule-resolution to obtain a list of all service types
for the given service package key and access group
|
boolean |
getServPackRulesetlist(java.lang.String aPackage,
java.lang.String aRuleSet)
Deprecated.
|
javax.net.ssl.SSLContext |
getSSLContext(java.lang.String aKeystoreName,
java.lang.String aTruststoreName,
java.lang.String aProtocol)
Initialize an SSLContext by merging PRPC keystore with JVM keystore
|
java.lang.String |
getTenantID()
Gets the Tenant ID hash of Tenant associated with the current thread.
|
java.lang.String |
getTenantLoginURLHash()
Gets the Login URL hash of Tenant associated with the current thread.
|
java.lang.String |
getTextEncodingForContentType(java.lang.String aContentType)
Returns character encoding to use if MIME type given can be treated as text.
|
WebSvcsParser |
getWSDLParser()
Return an instance of the Web Services Definition parser.
|
XSDComponentBuilder |
getXSDComponentBuilder(java.io.File aFile)
Create an instance of the XSDComponentBuilder class that
can be used to load WSDL or XML Schema documents to generate
XSDComponent objects.
|
XSDComponentBuilder |
getXSDComponentBuilder(PRFile aFile)
Create an instance of the XSDComponentBuilder class that
can be used to load WSDL or XML Schema documents to generate
XSDComponent objects.
|
XSDComponentBuilder |
getXSDComponentBuilder(java.io.Reader aReader)
Create an instance of the XSDComponentBuilder class that
can be used to load WSDL or XML Schema documents to generate
XSDComponent objects.
|
XSDComponentBuilder |
getXSDComponentBuilder(java.lang.String aURLVal)
Create an instance of the XSDComponentBuilder class that
can be used to load WSDL or XML Schema documents to generate
XSDComponent objects.
|
XSDComponentBuilder |
getXSDComponentBuilder(java.net.URL aURL)
Create an instance of the XSDComponentBuilder class that
can be used to load WSDL or XML Schema documents to generate
XSDComponent objects.
|
java.lang.String |
getXSDFileData(java.lang.String aPath)
Open and read the content of a generated XSD file.
|
SchemaParser |
getXSDParser()
Deprecated.
|
java.util.Map |
httpCodeToPRPCStatus(int aResponseCode,
java.lang.String aMethodName,
boolean aRedirectAllowed)
Consumes an HTTP response code and returns a status message and/or status value.
|
void |
incrementConnectRequestDataVolume(int aVolume)
Increment oConnectRequestDataVolume
|
void |
incrementConnectResponseDataVolume(int aVolume)
Increment oConnectResponseDataVolume
|
java.lang.String |
inferContentType(java.lang.String aFileName)
Makes a best-effort guess at the content type of a file based on its extension and name.
|
java.lang.Class |
initializeAxisClient(ClipboardPage aRulePage,
boolean aForce)
Deprecated.
|
void |
invokeCMISConnector(ClipboardPage aConnectorPage,
ClipboardPage aCMISServicePage)
Invoke a CMIS Connector
|
void |
invokeFTPConnector(ClipboardPage aFTPServerPage,
java.util.Map aMethodParams)
Invoke an FTP Connector
|
void |
invokeSAPConnector(ClipboardPage aConnectorPage,
ClipboardPage aContextPage,
java.util.Map aStepMethodsParams)
Invoke a SAP Connector
|
boolean |
isListenerBlocked(ClipboardPage aListener)
Should we be running this listener on any nodes?
|
boolean |
isListenerEnabled(ClipboardProperty aNodeList,
java.lang.String aNodeName)
Should we be running this listener on this node?
|
boolean |
isRulesetValidForPackage(java.lang.String aRuleSet,
java.lang.String aPackage)
Determine if the given ruleset is contained in the set of rulesets
used by the service package access group.
|
boolean |
isStatefulPackage(java.lang.String aPackage)
Determine if service package is Stateful
|
boolean |
isStatelessPackage(java.lang.String aPackage)
Determine if service package is stateless
|
boolean |
isValidXMLElementName(java.lang.String name)
Check if a name is valid xml element name.
|
java.lang.Class |
loadJavaClass(java.lang.String aClassName)
Load the specified java class from the Process Commander classpath.
|
java.util.List |
lookupEJBBindings(javax.naming.Context aContext,
boolean isLocal)
Get a list of EJB binding names from a JNDI server.
|
java.util.List |
lookupEJBBindings(javax.naming.Context aContext,
java.lang.String aServerName)
Get a list of EJB binding names from a JNDI server.
|
boolean |
mapInboundAxisHeaders(ClipboardProperty aMappings,
java.util.Map aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map inbound java object values to Clipboard data.
|
boolean |
mapInboundAxisValues(ClipboardProperty aMappings,
ClipboardProperty aPageMappings,
java.util.List aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map inbound java object values to Clipboard data.
|
boolean |
mapInboundData(ClipboardProperty aMappings,
java.util.List aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map inbound java object values to Clipboard data.
|
boolean |
mapInboundData(ClipboardProperty aMappings,
java.util.Map aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map inbound string values to Clipboard data.
|
boolean |
mapOutboundAxisHeaders(ClipboardProperty aMappings,
java.util.Map aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map Clipboard data to outbound java object values.
|
boolean |
mapOutboundAxisValues(ClipboardProperty aMappings,
ClipboardProperty aPageMappings,
java.util.List aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map Clipboard data to outbound java object values.
|
boolean |
mapOutboundData(ClipboardProperty aMappings,
java.util.List aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map Clipboard data to outbound java object values.
|
boolean |
mapOutboundData(ClipboardProperty aMappings,
java.util.Map aValues,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map Clipboard data to outbound string values.
|
java.lang.String |
normalizeClassName(java.lang.String aTypeName)
Normalize a string into a valid class name.
|
java.lang.String |
normalizePropertyName(java.lang.String aTypeName)
Normalize a string into a valid property name.
|
org.w3c.dom.Document |
parseDOMDocument(java.lang.Object aInput)
Parses input data (String, InputStream...) into an org.w3c.dom.Document Object
|
void |
populateCMISBrowser(ClipboardPage aConnectorPage,
ClipboardPage aTreePage,
java.lang.Integer aDepth,
boolean aFoldersOnly)
Use a CMIS Connector to build a tree of objects, stemming from the node provided.
|
java.lang.String |
prettyPrint(org.w3c.dom.Document aDocument)
Used to well-format XML content
|
java.lang.String |
prettyPrint(java.lang.String aXmlSource)
Used to well-format XML content
|
java.lang.String |
prettyPrint(java.lang.String aXmlSource,
java.lang.String aCharset)
Used to well-format XML content
|
void |
removeEmptyPropertiesFromPage(ClipboardPage aPage)
Recursively traverse a clipboard page, removing all properties that contain no data.
|
java.lang.String |
resolvePassword(java.lang.String aVal,
ClipboardPage aObjPage)
Resolve a password by decoding, following up to 10 nested references.
|
java.lang.String |
serializeObject(java.lang.Object aObject)
Serialize and Base64 encode the given java object.
|
void |
setInboundClipboardValue(java.lang.String aMapToKey,
java.lang.Object aSourceValue,
ParameterPage aParamPage,
ClipboardPage aPrimaryPage)
Map inbound Object to Clipboard property value.
|
void |
startConnectClientInitElapsedStat()
Start PAL timer oConnectClientResponseElapsed
|
void |
startConnectClientResponseElapsedStat()
Start PAL timer oConnectClientResponseElapsed
|
void |
startConnectInMapReqTimeStat()
Start PAL timer oConnectInMapReqTime
|
void |
startConnectOutMapReqTimeStat()
Start PAL timer oConnectOutMapReqTime
|
boolean |
stopConnectClientInitElapsedStat()
Stop PAL timer oConnectClientResponseElapsed
|
boolean |
stopConnectClientResponseElapsedStat()
Stop PAL timer oConnectClientResponseElapsed
|
boolean |
stopConnectInMapReqTimeStat()
Stop PAL timer oConnectOutMapReqTime
|
boolean |
stopConnectOutMapReqTimeStat()
Stop PAL timer oConnectInMapReqTime
|
boolean |
testCMISConnection(ClipboardPage aPrimaryPage,
ClipboardPage aResultsPage)
Test Connectivity for a CMIS Server
Fill in results on the page passed in.
|
boolean |
testFTPConnection(ClipboardPage aFTPServerPage,
ClipboardPage aResultsPage)
Test Connectivity for an FTP Server.
|
boolean |
testSAPConnection(ClipboardPage aConnectorPage,
ClipboardPage aResultsPage)
Test Connectivity for a SAP connector
Fill in results on the page passed in.
|
void |
upgradeLegacyParseRule(ClipboardPage aRulePage)
Convert the rule data of the legacy parse rule to the new format.
|
void |
validateListener(ClipboardPage aStepPage)
Deprecated.
|
boolean |
validateXMLParseRule(ClipboardPage aRulePage)
Generate the java source for the parse steps contained in the given
Rule-Parse-XML record.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final java.lang.String REMOTE_EJB_REFS
static final java.lang.String LOCAL_EJB_REFS
static final java.lang.String RESOURCE_REFS
static final java.lang.String MDTYPE_XSD
static final java.lang.String MDTYPE_WSDL
static final java.lang.String MDTYPE_JSON
static final java.lang.String MDTYPE_XML
static final java.lang.String RULEGEN_PURPOSE_DATA_MODEL
static final java.lang.String RULEGEN_PURPOSE_REST_CONNECTORS
static final java.lang.String RULEGEN_PURPOSE_SOAP_CONNECTORS
static final java.lang.String RULEGEN_PURPOSE_SAP_CONNECTORS
static final java.lang.String RULEGEN_PURPOSE_XSD
static final java.lang.String RULEGEN_PURPOSE_DOTNET_CONNECTORS
void createWSDL(StringMap aParams, ClipboardPage aListPage)
aParams
- holds input and output values for the method.
Recognized input values are:
aListPage
- a Code-Pega-List page containing the service or
connector rule instances that will be used to generate the WSDL file.void createWSDL(StringMap aParams, java.util.List aMethodList)
aParams
- holds input and output values for the method.
Recognized input values are:
aMethodList
- a list of com.pega.pegarules.pub.engine.ClipboardPage
instances that will be used to generate the WSDL file.java.lang.String createWSDL(java.lang.String aPackage, java.lang.String aClass)
aPackage
- service package keyaClass
- service class keyjava.lang.String createWSDL(java.lang.String aPackage, java.lang.String aClass, java.lang.String aServiceType)
aPackage
- service package keyaClass
- service class keyaServiceType
- "SOAP" or "dotNet"java.lang.String createPackageIDL(java.lang.String aPackage)
aPackage
- service package keyjava.lang.String activateCORBAObject(java.lang.String aIRef, java.lang.String aUserName, java.lang.String aPassword, java.lang.String aJNDIName)
aIRef
- key consisting of service package and class nameaUserName
- username value for authenticated services - may be nullaPassword
- password value for authenticated services - may be nullaJNDIName
- name to register object with JNDI server - may be nulljava.lang.String activateCORBAObject(java.lang.String aIRef, java.lang.String aUserName, java.lang.String aPassword, java.lang.String aJNDIName, java.lang.String aRemoteHost, java.lang.String aRemotePort)
aIRef
- key consisting of service package and class nameaUserName
- username value for authenticated services - may be nullaPassword
- password value for authenticated services - may be nullaJNDIName
- name to register object with JNDI server - may be nullaRemoteHost
- host value for creating log4j SocketClient - may be nullaRemotePort
- port value for creating log4j SocketClient - may be nullboolean deactivateCORBAObject(java.lang.String aIOR)
aIOR
- reference string for looking up object instancejava.lang.Class loadJavaClass(java.lang.String aClassName)
aClassName
- Java Bean class namejava.beans.PropertyDescriptor[] getBeanPropertyDescr(java.lang.String aClassName)
aClassName
- Java Bean class namejava.lang.String createXSDforJavaClass(java.lang.String aClassName, java.util.List aFieldNames) throws PRException
aClassName
- The package-qualified java class name.aFieldNames
- A list of required JavaBean properties.PRException
java.lang.String convertDTDToXSD(java.lang.String aURL) throws PRException
aURL
- The URL of the DTD file.PRException
java.lang.String getXSDFileData(java.lang.String aPath) throws PRException
aPath
- The PRFile path of the generated XSD file.PRException
javax.naming.Context getJNDIContext(ClipboardPage aServerPage, boolean isLocal) throws PRException
aServerPage
- The Data-Admin-Connect-JNDIServer instance,isLocal
- Flag for using local EJB's.PRException
javax.naming.Context getJNDIContext(ClipboardPage aServerPage) throws PRException
aServerPage
- The Data-Admin-Connect-JNDIServer instance,PRException
java.util.List lookupEJBBindings(javax.naming.Context aContext, boolean isLocal) throws PRException
aContext
- The handle of the JNDI context object.isLocal
- Flag for using local EJB's.PRException
java.util.List lookupEJBBindings(javax.naming.Context aContext, java.lang.String aServerName) throws PRException
aContext
- The handle of the JNDI context object.aServerName
- JNDI Server name (reserved names for special situations)PRException
java.lang.Class[] getEJBInterface(javax.naming.Context aContext, java.lang.String aBindingName, boolean isLocal) throws PRException
aContext
- The handle of the JNDI context object.aBindingName
- The JNDI binding name of the EJB.isLocal
- Flag for using local EJB's.PRException
java.lang.String createEJBComponent(java.lang.String aPackage, java.lang.String aClass)
aPackage
- service package keyaClass
- service class keyjava.lang.String createEJBComponent(java.lang.String aPackage, java.lang.String aClass, java.lang.String aEjbVersion)
aPackage
- service package keyaClass
- service class keyaEjbVersion
- version of EJB (ejb-jar) modulejava.lang.String createMDBComponent(ClipboardPage aJMSListenerPage)
aJMSListenerPage
- Data-Admin-Connect-JMSMDBListener instance pagejava.lang.String generateMDBDescriptor(ClipboardPage aJMSListenerPage)
aJMSListenerPage
- Data-Admin-Connect-JMSListener instance pagejava.lang.Class initializeAxisClient(ClipboardPage aRulePage, boolean aForce)
aRulePage
- Rule-Connect-SOAP source pageaForce
- force regeneration of Axis classesboolean isListenerBlocked(ClipboardPage aListener)
If property pyBlocked (PRPC V03-04-01) exists on the listener page and it's value if 'true' then the listener is blocked and not intended to run on any nodes. If pyBlocked is 'false' or if it does not exist on the listener page then it is available.
aListener
- Clipboard pageboolean isListenerEnabled(ClipboardProperty aNodeList, java.lang.String aNodeName)
The current interpretation of an empty node list is that this listener is valid on ANY node, including the current host. If the node list is not empty, look for the current host name.
aNodeList
- Clipboard property that is a list of nodes.aNodeName
- The name of the current host node.boolean validateXMLParseRule(ClipboardPage aRulePage)
aRulePage
- key consisting of service package and class namejava.util.Map getServiceClasses(java.lang.String aType, java.lang.String aPackage)
aType
- service type (eg. "SOAP")aPackage
- service package keyjava.util.Map getServiceClasses(java.lang.String aType, java.lang.String aPackage, java.lang.String aAccessGroup)
aType
- service type (eg. "SOAP")aPackage
- service package keyaAccessGroup
- access group of the service packagejava.util.List getServiceMethods(java.lang.String aType, java.lang.String aPackage, java.lang.String aClass)
aType
- service type (eg. "SOAP")aPackage
- service package keyaClass
- service class keyjava.util.List getServiceTypes(java.lang.String aPackage)
aPackage
- java.util.List getServiceTypes(java.lang.String aPackage, java.lang.String aAccessGroup)
aPackage
- aAccessGroup
- ClipboardPage getServiceMethod(java.lang.String aType, java.lang.String aPackage, java.lang.String aClass, java.lang.String aMethod)
aType
- service type (eg. "SOAP")aPackage
- service package keyaClass
- service class keyaMethod
- service method keyjava.util.List getMappingFunctions(java.lang.String aLibrary, java.lang.String[] aParamTypes, java.lang.String aReturnType)
aLibrary
- utility library keyaParamTypes
- array of method parameter type namesaReturnType
- return type namejava.lang.Object getOutboundClipboardValue(java.lang.String aMapFromKey, java.lang.String aDataType, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMapFromKey
- source clipboard property nameaDataType
- target object data typeaParamPage
- parameter page targetaPrimaryPage
- primary page targetvoid setInboundClipboardValue(java.lang.String aMapToKey, java.lang.Object aSourceValue, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMapToKey
- target clipboard property nameaSourceValue
- source object valueaParamPage
- parameter page targetaPrimaryPage
- primary page targetboolean mapInboundData(ClipboardProperty aMappings, java.util.Map aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- map of keyed input string valuesaParamPage
- parameter page targetaPrimaryPage
- primary page targetboolean mapOutboundData(ClipboardProperty aMappings, java.util.Map aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- map of keyed output string valuesaParamPage
- parameter page sourceaPrimaryPage
- primary page sourceboolean mapInboundData(ClipboardProperty aMappings, java.util.List aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- ordered list of input object valuesaParamPage
- parameter page targetaPrimaryPage
- primary page targetboolean mapOutboundData(ClipboardProperty aMappings, java.util.List aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- ordered list of output object valuesaParamPage
- parameter page sourceaPrimaryPage
- primary page sourcejava.lang.String getTextEncodingForContentType(java.lang.String aContentType)
aContentType
- boolean mapInboundAxisHeaders(ClipboardProperty aMappings, java.util.Map aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- map of keyed input object valuesaParamPage
- parameter page targetaPrimaryPage
- primary page targetboolean mapOutboundAxisHeaders(ClipboardProperty aMappings, java.util.Map aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaValues
- map of keyed output object valuesaParamPage
- parameter page sourceaPrimaryPage
- primary page sourceboolean mapInboundAxisValues(ClipboardProperty aMappings, ClipboardProperty aPageMappings, java.util.List aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaPageMappings
- list of Embed-SchemaReference mapping declarationsaValues
- ordered list of input object valuesaParamPage
- parameter page targetaPrimaryPage
- primary page targetboolean mapOutboundAxisValues(ClipboardProperty aMappings, ClipboardProperty aPageMappings, java.util.List aValues, ParameterPage aParamPage, ClipboardPage aPrimaryPage)
aMappings
- list of Embed-InterfaceParameter mapping declarationsaPageMappings
- list of Embed-SchemaReference mapping declarationsaValues
- ordered list of output object valuesaParamPage
- parameter page sourceaPrimaryPage
- primary page sourceXSDComponentBuilder getXSDComponentBuilder(java.lang.String aURLVal) throws PRException
aURLVal
- the URL string value of the WSDL or XML Schema documentPRException
XSDComponentBuilder getXSDComponentBuilder(java.net.URL aURL) throws PRException
aURL
- the URL object value of the WSDL or XML Schema documentPRException
XSDComponentBuilder getXSDComponentBuilder(PRFile aFile) throws PRException
aFile
- the PRFile object value of the WSDL or XML Schema documentPRException
XSDComponentBuilder getXSDComponentBuilder(java.io.File aFile) throws PRException
aFile
- the File object value of the WSDL or XML Schema documentPRException
XSDComponentBuilder getXSDComponentBuilder(java.io.Reader aReader) throws PRException
aReader
- the Reader object for the WSDL or XML Schema document contentPRException
void buildXMLTree(java.lang.String aClassName, ClipboardPage aTreePage, ClipboardPage dataOptionsPage)
aClassName
- the class whose properties will be converted to XMLaTreePage
- the clipboard page to be populated with XML metadatadataOptionsPage
- void buildXMLTree(XSDElementDeclaration aElemDecl, ClipboardPage aTreePage)
aElemDecl
- the root element declaration object to be traversedaTreePage
- the clipboard page to be populated with XML metadatavoid buildXMLTree(java.lang.String aClassName, XSDElementDeclaration aElemDecl, ClipboardPage aTreePage)
aClassName
- the class to use for node-level data mappingaElemDecl
- the root element declaration object to be traversedaTreePage
- the clipboard page to be populated with XML metadatavoid buildXMLTree(java.lang.String aElemName, java.lang.String aElemNS, XSDComplexTypeDefinition aTypeDef, ClipboardPage aTreePage)
aElemName
- the local name of the root elementaElemNS
- the namespace URI of the root elementaTypeDef
- the complex type definition to be traversedaTreePage
- the clipboard page to be populated with XML metadatavoid buildXMLTree(java.lang.String aElemName, java.lang.String aElemNS, java.lang.String aClassName, XSDComplexTypeDefinition aTypeDef, ClipboardPage aTreePage)
aElemName
- the local name of the root elementaElemNS
- the namespace URI of the root elementaClassName
- the class to use for node-level data mappingaTypeDef
- the complex type definition to be traversedaTreePage
- the clipboard page to be populated with XML metadataint countChildNodes(XSDElementDeclaration aElemDecl)
aElemDecl
- the root element declaration object to be traversedint countChildNodes(XSDComplexTypeDefinition aTypeDef)
aTypeDef
- the complex type definition to be traversedvoid findSubstitutions(XSDElementDeclaration aElemDecl, ClipboardProperty aTypeList, ClipboardProperty aElemList)
aElemDecl
- the root element declaration object to be traversedaTypeList
- the list of type substitutions to be populatedaElemList
- the list of element substitutions to be populatedvoid findSubstitutions(XSDComplexTypeDefinition aTypeDef, ClipboardProperty aTypeList, ClipboardProperty aElemList)
aTypeDef
- the complex type definition to be traversedaTypeList
- the list of type substitutions to be populatedaElemList
- the list of element substitutions to be populatedjava.lang.String createSampleXMLInstance(ClipboardPage aTreePage, boolean aIsEncoded)
aTreePage
- clipboard page of class Embed-TreeaIsEncoded
- if true, use SOAP 1.1 encoding semanticsvoid generateMappingRules(XSDComponentBuilder aBuilder, java.util.List aElemNames, StringMap aOptions, ClipboardProperty aRuleList)
aBuilder
- XSD component builder for the source schema documentaElemNames
- list of element name stringsaOptions
- string map of generation options
Valid generation options include:
aRuleList
- page list property that will contain the new rule instancesvoid generateRulesFromMetadata(ClipboardPage aGenerationRequest, ParameterPage aParams)
aGenerationRequest
- aParams
- void configureMappingRules(XSDComponentBuilder aBuilder, StringMap aOptions, ClipboardProperty aRuleList)
aBuilder
- XSD component builder for the source schema documentaOptions
- string map of generation options
Valid generation options include:
aRuleList
- page list property that contains the XML mapping rulesvoid generateStreamRuleContent(ClipboardPage aRulePage)
aRulePage
- clipboard page of class Rule-Obj-XMLvoid upgradeLegacyParseRule(ClipboardPage aRulePage)
aRulePage
- clipboard page of class Rule-Parse-XMLSchemaParser getXSDParser()
WebSvcsParser getWSDLParser()
java.lang.Class getDynamicClass(java.lang.String aDataType, boolean aClearCache)
aDataType
- name of type, primitive or objectaClearCache
- force the classloader to reload the classjava.lang.Class getJavaClass(java.lang.String aDataType)
aDataType
- name of type, primitive or objectjava.lang.String serializeObject(java.lang.Object aObject)
aObject
- the java objectjava.lang.Object deserializeObject(java.lang.String aDataVal)
aDataVal
- serialized and encoded data valuejava.lang.String decodePassword(java.lang.String aData)
aData
- password value to be decodedvoid generateEJBTestClient(java.util.HashMap aBindings, java.util.List aCreateParamClasses, java.util.List aRemoteParamClasses)
aBindings
- contains JNDI bindings for the EJB targeted by Rule-Connect-EJB that
invokes this method.aCreateParamClasses
- List of Classes of input parameteters of the EJB create method used
by the EJB targeted by Rule-Connect-EJB that invokes this method .aRemoteParamClasses
- List of Classes of input parameteters of the EJB Remote method used
by the EJB targeted by Rule-Connect-EJB that invokes this method.java.lang.String createSOAPRequestEnvelope(ClipboardPage aServiceRule)
aServiceRule
- clipboard page of class Data-Admin-IS-ClientSimulationvoid executeServiceSimulation(ClipboardPage aSimulationData)
aSimulationData
- clipboard page of class Data-Admin-IS-ClientSimulationjava.lang.String normalizeClassName(java.lang.String aTypeName)
aTypeName
- string to normalizejava.lang.String normalizePropertyName(java.lang.String aTypeName)
aTypeName
- string to normalizevoid removeEmptyPropertiesFromPage(ClipboardPage aPage)
aPage
- clipboard page to operate onjava.lang.String createPortletComponent(java.lang.String aPackage, java.lang.String aClass)
aPackage
- service package keyaClass
- service class keyjava.lang.String createPortletComponent(java.lang.String aPackage, java.lang.String aClass, java.lang.String aDeployment)
aPackage
- service package keyaClass
- service class keyaDeployment
- "JSR-168" or "WSRP 1.0 Producer"java.lang.String createPRObjectWrapperImpl()
void clearRequestorPool(java.lang.String aPackage)
aPackage
- service package keyvoid validateListener(ClipboardPage aStepPage)
aStepPage
- listener instanceboolean getServPackRulesetlist(java.lang.String aPackage, java.lang.String aRuleSet)
aPackage
- service package keyaRuleSet
- service rule rulesetboolean isStatelessPackage(java.lang.String aPackage)
aPackage
- service package keyboolean isStatefulPackage(java.lang.String aPackage)
aPackage
- service package keyboolean isRulesetValidForPackage(java.lang.String aRuleSet, java.lang.String aPackage)
aRuleSet
- service rule rulesetaPackage
- service package keyvoid startConnectClientInitElapsedStat()
boolean stopConnectClientInitElapsedStat()
void startConnectClientResponseElapsedStat()
boolean stopConnectClientResponseElapsedStat()
void startConnectInMapReqTimeStat()
boolean stopConnectInMapReqTimeStat()
void startConnectOutMapReqTimeStat()
boolean stopConnectOutMapReqTimeStat()
void incrementConnectRequestDataVolume(int aVolume)
aVolume
- Integer containing the volumevoid incrementConnectResponseDataVolume(int aVolume)
aVolume
- Integer containing the volumejava.util.HashMap getJMSConfigFollowingSojSpec(ClipboardPage aConnectorPage, java.lang.String aEndPointURL)
aConnectorPage
- aEndPointURL
- java.util.HashMap getCredentials(java.util.List keyList, ClipboardPage aAuthPage, ClipboardPage aObjPage)
keyList
- the list of properties to fetchaAuthPage
- the Authentication Profile page to fetch fromaObjPage
- the Page to poll for dot referencesvoid executeSOAPRequest(java.util.List aModulesList, java.util.Map aCommonParamsMap)
aModulesList
- List of SOAP modules to be engaged to successfully invoke the target SOAP service. Eg, Addressing, WSSecurity, Authentication *aCommonParamsMap
- Map containing common params like SOAP Endpoint URI, SOAP Action URI, etc.void executeRESTRequest(java.util.Map aCommonParamsMap)
aCommonParamsMap
- Map containing common params like EndpointURI, HTTP method etc.java.lang.String prettyPrint(java.lang.String aXmlSource)
aXmlSource
- String containing XML streamjava.lang.String prettyPrint(java.lang.String aXmlSource, java.lang.String aCharset)
aXmlSource
- String containing XML streamaCharset
- String representing XML stream encoding charsetjava.lang.String prettyPrint(org.w3c.dom.Document aDocument)
aDocument
- Document instance representation of XML streamjava.lang.String createXSDforJavaClass(java.lang.String aClassName, java.util.List aFieldNames, boolean aGenerateAppPages) throws PRException
aClassName
- The package-qualified java class name.aFieldNames
- A list of required JavaBean properties.aGenerateAppPages
- Produce non-java rules that are "mirrors" of java pagesPRException
void evaluateRulesFromMetadata(ClipboardPage aGenerationRequest, ParameterPage aParams, ClipboardPage aResultPage)
aGenerationRequest
- The generation request that would be used for rule generation - identifies information to be mappedaParams
- The parameters that would be used for rule generation - does not contain user-created information.aResultPage
- An optional page for storing results.void generateRulesFromJsonStream(ClipboardPage aGenerationRequest, ParameterPage aParams)
aGenerationRequest
- ClipboardPage of type Embed-Integration-RuleGenRequestaParams
- Parameter pagevoid generatePegaDataModelFromSampleXMLInstances(ClipboardPage aGenerationRequest, ParameterPage aParams)
aGenerationRequest
- ClipboardPage of type Embed-Integration-RuleGenRequestaParams
- Parameter pagejava.lang.String resolvePassword(java.lang.String aVal, ClipboardPage aObjPage)
aVal
- aObjPage
- boolean isValidXMLElementName(java.lang.String name)
name
- java.lang.String getCharset(java.lang.String aContentType)
aContentType
- the value of a Content-Type HTTP header@Deprecated java.util.Map getReponseData(java.lang.Object aResponse, ClipboardPage aAttachPage, StringMap aOptions)
aResponse
- an Object that contains the response informationaAttachPage
- a ClipboardPage for attaching multipart parts, if present.aOptions
- a Map containing any supported customizationsgetResponseData(Object, ClipboardPage, StringMap)
java.util.Map getResponseData(java.lang.Object aResponse, ClipboardPage aAttachPage, StringMap aOptions)
aResponse
- an Object that contains the response informationaAttachPage
- a ClipboardPage for attaching multipart parts, if present.aOptions
- a Map containing any supported customizationsjava.util.Map httpCodeToPRPCStatus(int aResponseCode, java.lang.String aMethodName, boolean aRedirectAllowed)
aResponseCode
- an HTTP response codeaMethodName
- the name of the HTTP methodaRedirectAllowed
- enables or disables "redirect allowed" modejava.util.List<java.lang.String> getSavedRecordHandles(ClipboardPage aSummaryPage, java.util.Set aRecordTypes)
aSummaryPage
- the summary (index 0 log page)aRecordTypes
- an optional set of record types - empty or null implies ALL.ClipboardPage deleteSavedRecords(ClipboardPage aSummaryPage, java.util.Set aRecordTypes, boolean aPurgeLogs)
aSummaryPage
- a "Summary" log generated by RuleSaveraRecordTypes
- an optional Set of types of records to delete. empty or null implies "ALL"aPurgeLogs
- an optional flag to purge the logsEmbed-Integration-DeletedRule
Page containing the resultsjavax.net.ssl.SSLContext getSSLContext(java.lang.String aKeystoreName, java.lang.String aTruststoreName, java.lang.String aProtocol) throws java.lang.Exception
aKeystoreName
- Name of the keystore data instance housing client's private
keysaTruststoreName
- Name of the keystore data instance housing server's public
certificatesaProtocol
- Protocol used to establish SSLContext, default is SSLjava.lang.Exception
java.lang.String getTenantLoginURLHash()
java.lang.String getTenantID()
javax.net.ssl.SSLSocketFactory getSecureSocketFactory(java.lang.String aTrustStoreName, java.lang.String aKeystoreName, java.lang.String aLowestProtocol) throws java.lang.Exception
SSLSocketFactory
that works in accordance with Pega Standards.
Null/blank values will revert to Pega defaults.
Some functionality may be influenced by the runtime environment.aTrustStoreName
- (optional) record key of a KeyStore record for trust settingsaKeystoreName
- (optional) record key of a KeyStore record for key settingsaLowestProtocol
- the lowest acceptable protocoljava.lang.Exception
void invokeFTPConnector(ClipboardPage aFTPServerPage, java.util.Map aMethodParams) throws java.lang.Exception
aFTPServerPage
- - an FTP Server Page containing information required for FTP connection.aMethodParams
- - a Map containing the parameters from the Connect-FTP call (Server name, Local and remote path, etc.)java.lang.Exception
boolean testFTPConnection(ClipboardPage aFTPServerPage, ClipboardPage aResultsPage) throws java.lang.Exception
aFTPServerPage
- an FTP Server record pageaResultsPage
- the page that will hold the resultsjava.lang.Exception
void invokeCMISConnector(ClipboardPage aConnectorPage, ClipboardPage aCMISServicePage)
aConnectorPage
- - a Connect-CMIS Page containing information required for CMIS connectionaCMISServicePage
- - a CMIS Service Page to use when interacting with a CMIS serverjava.util.Map<java.lang.String,java.lang.String> getCMISRepositories(java.lang.String aServerName, java.lang.String aServerClass, java.lang.String aServerType)
aServerName
- - name of the CMIS server recordaServerClass
- - class of the CMIS server recordaServerType
- - type of CMIS server (SOAP or ATOM)java.util.Map<java.lang.String,java.lang.String> getCMISRepositoriesJSON(java.lang.String aConnectorInstanceKey, java.lang.String aClipboardPageJSON, java.lang.String aServerType)
aConnectorInstanceKey
- - instance key of the CMIS Connector recordaClipboardPageJSON
- - JSON representation of CMIS Connector pageaServerType
- - type of CMIS server (SOAP or Atom)boolean testCMISConnection(ClipboardPage aPrimaryPage, ClipboardPage aResultsPage)
aPrimaryPage
- - an Connect-CMIS pageaResultsPage
- - the page that will hold the resultsvoid invokeSAPConnector(ClipboardPage aConnectorPage, ClipboardPage aContextPage, java.util.Map aStepMethodsParams) throws java.lang.Exception
aConnectorPage
- - a Rule-Connect-SAP Page containing information required for SAP connector executionaContextPage
- - a context page for SAP connector execution (step page of Connect-SAP step method)aStepMethodsParams
- - a Map containing Connect-SAP activity step method parametersjava.lang.Exception
boolean testSAPConnection(ClipboardPage aConnectorPage, ClipboardPage aResultsPage)
aConnectorPage
- - a Rule-Connect-SAP pageaResultsPage
- - the page that will hold the resultsvoid populateCMISBrowser(ClipboardPage aConnectorPage, ClipboardPage aTreePage, java.lang.Integer aDepth, boolean aFoldersOnly)
aConnectorPage
- - a Connect-CMIS pageaTreePage
- - an Embed-CMIS-TreeNodes page that has a pyNodeID matching a CMIS object on the repositoryaDepth
- the maximum depth of traversal. Defaults to 1. -1 means "all contents"aFoldersOnly
- - when true, the only nodes created will be for folders. Documents will be omitted.com.pega.pegarules.priv.integration.connect.MessageProcessor getMessageProcessor(ClipboardPage myStepPage, java.lang.String serverName)
myStepPage
- : contains operation level informationserverName
- : name of serverjava.lang.String dereferenceEndpoint(java.lang.String aURL, java.util.Map<java.lang.String,java.lang.String> aResourceParamValsMap, com.google.common.collect.Multimap<java.lang.String,java.lang.String> aQueryParamMap, boolean aSkipBlankQueryValues)
aURL
- - the URL to dereference and encodeaResourceParamValsMap
- - a map of key-value pairs for replacement of placeholders in the resource pathaQueryParamMap
- - a map of key=value pairs for appendation to the resource path query segmentaSkipBlankQueryValues
- - true to skip queries with blank values, false to leave them injava.lang.String encodeResourcePathPart(java.lang.String aPartText)
aPartText
- java.lang.String encodeQueryStringPart(java.lang.String aPartText)
aPartText
- org.w3c.dom.Document parseDOMDocument(java.lang.Object aInput)
aInput
- String | InputStream | Readerjava.lang.String inferContentType(java.lang.String aFileName)
com.pega.eu.medsea.mimeutil.detector.ExtensionMimeDetector
to guess the content type.aFileName
- - name of the file to infer content type ofCopyright © 2018 Pegasystems Inc. All Rights Reserved.