public interface CampaignConnector
Modifier and Type | Method and Description |
---|---|
CallResults |
callFunction(String name,
Map<String,String> fctParams,
CampaignCredentials credentials)
Calls a remote function on the campaign instance.
|
Configuration |
getWebserviceConfig(Resource resource)
Determines the webservice config to be used.
|
CampaignCredentials |
retrieveCredentials(Configuration config)
Retrieves the credentials from the specified webservice config.
|
Configuration getWebserviceConfig(Resource resource) throws ACConnectorException
resource
- The resource to get the webservice config forACConnectorException
- if there is no webservice config presentCampaignCredentials retrieveCredentials(Configuration config) throws ACConnectorException
Retrieves the credentials from the specified webservice config.
config
- The webservice configACConnectorException
- if there were no credentials present or the credentials
could not be decryptedCallResults callFunction(String name, Map<String,String> fctParams, CampaignCredentials credentials) throws ACConnectorException
Calls 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.
name
- The name of the function to be calledfctParams
- 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"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"