public interface SilverPopService extends EmailService
Modifier and Type | Method and Description |
---|---|
void |
addSubscriberToList(Configuration configuration,
Subscriber subscriber,
SubscriptionList[] lists,
String parentDB)
This function is used to add a subscriber to a particular subscription list.
|
void |
checkCredentials(ConnectionParams params)
This function is used to validate the connection parameters with SilverPop
|
void |
deleteSubscriberFromList(Configuration configuration,
Subscriber subscriber,
SubscriptionList[] lists,
String parentDB)
This function is used to remove a subscriber from a particular mailing list.
|
PersonalizationInfo |
describeSubscriber(Configuration configuration,
String listId)
This function fetches the personalisation elements from SilverPop
|
List<Account> |
getAccounts(ConnectionParams params,
Map<String,Object> filterMap)
This function returns all the accounts associated with the email provider configuration.
|
List<FieldDescription> |
getFormFields(Configuration configuration,
String listId,
EmailServiceActions formAction)
Deprecated.
since 5.6.1
|
List<ListAttribute> |
getListAttributes(Configuration configuration,
String listId) |
List<SubscriptionList> |
getLists(Configuration configuration,
Map<String,Object> filterMap)
This function is used to return all subscription lists available with the email provider account.
|
List<MailingTemplate> |
getMailingTemplates(Configuration configuration,
GetMailingTemplateParams params) |
Email |
publishEmail(Configuration configuration,
Email email)
This function is used to publish an email to an external email provider.
|
void |
scheduleMailing(Configuration configuration,
ScheduleMailingParams params) |
void |
updateEmail(Configuration configuration,
Email email)
This function is used to update a published email on an external email provider
|
execute, getName
void checkCredentials(ConnectionParams params) throws SilverPopException
params
- The ConnectionParams for SilverPop.SilverPopException
- in case of errors.List<SubscriptionList> getLists(Configuration configuration, Map<String,Object> filterMap) throws SilverPopException
configuration
- The email provider configuration from cloud services.SilverPopException
- in case of errors.void addSubscriberToList(Configuration configuration, Subscriber subscriber, SubscriptionList[] lists, String parentDB) throws SilverPopException
configuration
- The email provider configuration from cloud services.subscriber
- The Subscriber object containing information about the subscriber.lists
- The lists to which the subscriber will be added. Note the lists should belong to same parent database at SilverPopparentDB
- The parentDB associated with the lists. If lists are null, the subscriber will be added to the parentDBSilverPopException
- in case of errors.void deleteSubscriberFromList(Configuration configuration, Subscriber subscriber, SubscriptionList[] lists, String parentDB) throws SilverPopException
configuration
- The email provider configuration from cloud services.subscriber
- The Subscriber object containing information about the subscriber.lists
- The lists from which the subscriber will be removed. The lists must share the same parent database at SilverPop.
If lists are null, the subscriber will be removed from the parentDB.parentDB
- The parent database id associated with the listsSilverPopException
- in case of errors.Email publishEmail(Configuration configuration, Email email) throws SilverPopException
configuration
- The email provider configuration from cloud services.email
- An object implementing Email containing details about email to be publishedSilverPopException
- in case of errors.void updateEmail(Configuration configuration, Email email) throws SilverPopException
configuration
- The email provider configuration from cloud servicesemail
- An object implementing Email containing details about email to be updatedSilverPopException
List<Account> getAccounts(ConnectionParams params, Map<String,Object> filterMap) throws SilverPopException
params
- The connection parameters to connect to the email provider.filterMap
- A map containing filtering criteria if any for account filtering. This will be implementation specific.SilverPopException
- in case of errors.PersonalizationInfo describeSubscriber(Configuration configuration, String listId) throws SilverPopException
configuration
- SilverPop Configuration from cloud serviceslistId
- Contact list existing on SilverPopSilverPopException
- in case of errors.@Deprecated List<FieldDescription> getFormFields(Configuration configuration, String listId, EmailServiceActions formAction) throws SilverPopException
configuration
- SilverPop Configuration from cloud serviceslistId
- Contact list existing on SilverpopformAction
- EmailServiceActions{ADD_SUBSCRIBER, DELETE_SUBSCRIBER, SEND_AUTO_RESPONDER}SilverPopException
SilverPopService#getListAttributes(Configuration, String) getListAttributes}
This function returns the form input fields need to execute corresponding formAction on list listID.
List<ListAttribute> getListAttributes(Configuration configuration, String listId) throws SilverPopException
listId
- The list or database whose attributes are to be fetchedattributes
in the listSilverpopException
SilverPopException
List<MailingTemplate> getMailingTemplates(Configuration configuration, GetMailingTemplateParams params) throws SilverPopException
SilverPopException
void scheduleMailing(Configuration configuration, ScheduleMailingParams params) throws SilverPopException
SilverPopException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"