public interface SilverPopClient
Modifier and Type | Method and Description |
---|---|
void |
addSubscriberToList(Subscriber subscriber,
SubscriptionList[] lists,
String parentDB)
This function calls an silverpop webservice to add a subscriber to contact lists.
|
void |
checkCredentials()
This function is used to validate the connection parameters with SilverPop provided while creating the ExactTarget cloudservice configuration
|
void |
deleteSubscriberFromList(Subscriber subscriber,
SubscriptionList[] lists,
String parentDB)
This function calls an silverpop webservice to send an email through silverpop.
|
PersonalizationInfo |
describeSubscriber(String listId)
This function calls a webservice that describes the silverpop subscriber parameters.
|
List<Account> |
getAccounts(Map<String,Object> filterMap) |
String |
getDirectoryConetentId(DirectoryContentIDS type)
This function returns the Directory Content IDs for an Engage Org at SilverPop corresponding to type
|
List<FieldDescription> |
getFormFields(String listId,
EmailServiceActions formAction)
Deprecated.
since 5.6.1
|
List<ListAttribute> |
getListAttributes(String listId) |
List<MailingTemplate> |
getMailingTemplates(GetMailingTemplateParams params) |
List<SubscriptionList> |
getSubscriptionList(Map<String,Object> filterMap)
This function calls an silverpop webservice to fetch the subscription lists in silverpop.
|
Email |
publishEmail(Email email)
This fucntion calls an silverpop webservice to publish and Email to silverpop.
|
void |
scheduleMailing(ScheduleMailingParams params) |
void |
updateEmail(Email email)
This function calls an silverpop webservice to update published email on silverpop
|
PersonalizationInfo describeSubscriber(String listId) throws SilverPopException
listId
- The list associated with the personalizationSilverPopException
- In case of error.@Deprecated List<FieldDescription> getFormFields(String listId, EmailServiceActions formAction) throws SilverPopException
listId
- The list associated with the formformAction
- {Subscribe, Unsubscribe, AutoResponder}SilverPopException
SilverPopClient#getListAttributes(String) getListAttributes}
This function fetches the list of form fields needed while executing the given formAction on associated list
List<ListAttribute> getListAttributes(String listId) throws SilverPopException
listId
- The list or database whose attributes are to be fetchedattributes
in the listSilverpopException
SilverPopException
List<SubscriptionList> getSubscriptionList(Map<String,Object> filterMap) throws SilverPopException
filterMap
- A Map containing custom filtering parameters to fetch the list.SilverPopException
- In case of error.void addSubscriberToList(Subscriber subscriber, SubscriptionList[] lists, String parentDB) throws SilverPopException
subscriber
- A subscriber that needs to be added to the mailing lists.lists
- An array of subscription lists to which this subscriber needs to be added.
The lists should share the same parent database at SilverPop. If lists are null, the subscriber will be added to the parentDB only.parentDB
- Id of parent database of the listsSilverPopException
- In case of error.Email publishEmail(Email email) throws SilverPopException
email
- The email object to be publishedSilverPopException
- In case of error.void updateEmail(Email email) throws SilverPopException
email
- The email to be updatedSilverPopException
void deleteSubscriberFromList(Subscriber subscriber, SubscriptionList[] lists, String parentDB) throws SilverPopException
email
- The email to be sentlists
- The lists from which the subscriber will be removed. These lists must share the same
database at SilverPop.parentDB
- The parent database associated with the lists. If lists are null the subscriber will be
deleted from the database and all associated contact lists.SilverPopException
- In case of error.List<Account> getAccounts(Map<String,Object> filterMap) throws SilverPopException
SilverPopException
String getDirectoryConetentId(DirectoryContentIDS type) throws SilverPopException
type
- The type of Directory Content whose id is to be retrievedSilverPopException
- in case of errorsvoid checkCredentials() throws SilverPopException
SilverPopException
- in case of errors.List<MailingTemplate> getMailingTemplates(GetMailingTemplateParams params) throws SilverPopException
SilverPopException
void scheduleMailing(ScheduleMailingParams params) throws SilverPopException
SilverPopException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"