public interface GenericCampaignConnector extends CampaignConnector
Modifier and Type | Method and Description |
---|---|
CallResults |
callGeneric(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> fctParams,
CampaignCredentials credentials)
Calls a remote JSSP on the campaign instance.
|
CallResults |
callGenericWithBasicAuth(java.lang.String path,
java.lang.String queryString,
CampaignCredentials credentials)
Gets data from a given URL with the credentials passed as Basic Authentication
headers.
|
CallResults |
postGeneric(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> data,
CampaignCredentials credentials)
Posts data to a remote function on the campaign instance.
|
callFunction, getWebserviceConfig, postFunction, retrieveCredentials
CallResults callGeneric(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> fctParams, CampaignCredentials credentials) throws ACConnectorException
Calls a remote JSSP on the campaign instance.
Note that the caller is required to use CallResults.destroy()
after
processing the result of the remote function call.
This method supports generic namespaces, hence the namespace must be included
in the name of the function (parameter name
).
name
- The name of the function to be called (including the namespace)fctParams
- The parameters of the function call (name/value parameters)credentials
- The credentials to be used for the callACConnectorException
- If the remote function could not be called or returned an unexpected statusCallResults postGeneric(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> data, CampaignCredentials credentials) throws ACConnectorException
Posts data to a remote function on the campaign instance.
Note that the caller is required to use CallResults.destroy()
after
processing the result of the remote function call.
This method supports generic namespaces, hence the namespace must be included
in the name of the function (parameter name
).
name
- The name of the function to be calleddata
- The data to post (name/value)credentials
- The credentials to be used for the callACConnectorException
- If the remote function could not be called or returned an unexpected statusCallResults callGenericWithBasicAuth(java.lang.String path, java.lang.String queryString, CampaignCredentials credentials) throws ACConnectorException
Gets data from a given URL with the credentials passed as Basic Authentication headers.
Note that the caller is required to use CallResults.destroy()
after
processing the result of the remote function call.
This is (for example) the counterpart for Campaign .next's query retrieval.
path
- The (absolute) path to callqueryString
- The query string (without leading '?')credentials
- The credentialsACConnectorException
- If the remote function could not be called or returned an unexpected statusCopyright © 2010 - 2020 Adobe. All Rights Reserved