public interface ExactTargetService extends EmailService
Modifier and Type | Method and Description |
---|---|
void |
addSubscriberToList(Configuration configuration,
Subscriber subscriber)
This function is used to add a subscriber to subscription lists.
|
void |
checkCredentials(ConnectionParams connectionParams)
This function is used to validate the connection parameters associated with ExactTarget
|
List |
createList(Configuration configuration,
List list)
This function will create a subscription list on ExactTarget.
|
void |
deleteList(Configuration configuration,
java.lang.String listId)
This function will delete specified subscription list from ExactTarget.
|
void |
deleteSubscriberFromList(Configuration configuration,
Subscriber subscriber)
This function is used to delete a subscriber to subscription lists.
|
java.util.List<PropertyDefinition> |
describeSubscriber(Configuration configuration)
This function fetches the personalisation elements from ExactTarget
|
java.util.List<Account> |
getAccounts(ConnectionParams connectionParams,
FilterPart filter)
This function returns all the accounts associated with the ExactTarget configuration.
|
java.util.List<Email> |
getEmails(Configuration configuration,
FilterPart filter)
This function will get a list of all mails that are available with ExactTarget for this account.
|
java.util.List<SendClassification> |
getSendClassifications(Configuration configuration,
FilterPart filter)
This function returns the Classification types for sending an email.
|
java.util.List<List> |
getSubscriberList(Configuration configuration,
FilterPart filter)
This function is used to return all subscription lists available with ExactTarget account.
|
java.util.List<ListSubscriber> |
getSubscribers(Configuration configuration,
java.lang.String listId)
This function will get all the subscribers that are subscribed on the specified list.
|
Email |
publishEmail(Configuration configuration,
Email email)
This function is used to publish an email to ExactTarget.
|
java.util.List<DataExtension> |
retrieveDataExtension(Configuration configuration,
java.lang.String[] properties,
FilterPart filter)
This function is used to retrieve filtered
data extension objects. |
java.util.List<DataExtensionField> |
retrieveDataExtensionFields(Configuration configuration,
FilterPart filter,
java.lang.String[] fields)
This function is used to retrieve data extension
columns
from the data extension specified in the filter |
void |
sendEmail(Configuration configuration,
Email email,
Subscriber subscriber)
This function is used to send an email to a subscriber.
|
void |
sendEmail(Configuration configuration,
Email email,
SubscriberList subcriberList)
This function is used to send an email to a subscriberList.
|
void |
updateEmail(Configuration configuration,
Email email)
This function is used to update a published email on an external email provider
|
java.util.Map<java.lang.String,java.lang.String> |
viewPublishedNewsletter(Configuration configuration,
java.lang.String entityId)
This operation is specific to ExactTarget
|
execute, getName
java.util.List<Account> getAccounts(ConnectionParams connectionParams, FilterPart filter) throws ExactTargetException
connectionParams
- The connection parameters to connect to ExactTarget.filter
- Pass null if no filtering needed.ExactTargetException
- in case of errorsvoid checkCredentials(ConnectionParams connectionParams) throws ExactTargetException
params
- The ConnectionParams for ExactTarget.ExactTargetException
- in case of errors.void addSubscriberToList(Configuration configuration, Subscriber subscriber) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.subscriber
- The Subscriber object containing information about the subscriber and the subscription listscom.day.cq.mcm.exacttarget.client.Subscriber#setLists(SubscriberList[])
..ExactTargetException
- in case of errors.void deleteSubscriberFromList(Configuration configuration, Subscriber subscriber) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.subscriber
- The Subscriber object containing information about the subscriber and the subscription listscom.day.cq.mcm.exacttarget.client.Subscriber#setLists(SubscriberList[])
..ExactTargetException
- in case of errors.Email publishEmail(Configuration configuration, Email email) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.email
- The email to be publishedExactTargetException
- in case of errors.void updateEmail(Configuration configuration, Email email) throws ExactTargetException
configuration
- ExactTarget configuration from cloud servicesemail
- The email containing the updates with ID set to corresponding email entity on ExactTargetExactTargetException
void sendEmail(Configuration configuration, Email email, Subscriber subscriber) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.email
- Email object containing information about email like ID and customerKeysubscriber
- The subscriber to which the email will be sent.ExactTargetException
- in case of errors.void sendEmail(Configuration configuration, Email email, SubscriberList subcriberList) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.email
- Email object containing information about email like ID and customerKeysubscriberList
- The list to which the email will be sent.ExactTargetException
- in case of errors.java.util.List<ListSubscriber> getSubscribers(Configuration configuration, java.lang.String listId) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.listId
- identifier of the subscription list for which subscribers need to be fetched.ExactTargetException
- in case of errors.void deleteList(Configuration configuration, java.lang.String listId) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.listId
- The identifier of the subscription list to be deleted.ExactTargetException
- in case of errors.List createList(Configuration configuration, List list) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.list
- List containing information on the list to be createdExactTargetException
- in case of errors.java.util.List<SendClassification> getSendClassifications(Configuration configuration, FilterPart filter) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.filter
- Filter containing send classification filters, pass null for no filtering.ExactTargetException
- in case of errors.java.util.List<Email> getEmails(Configuration configuration, FilterPart filter) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.filter
- Filter containing Email filters. Pass null for no filter.ExactTargetException
- in case of errors.java.util.Map<java.lang.String,java.lang.String> viewPublishedNewsletter(Configuration configuration, java.lang.String entityId) throws ExactTargetException
params
- The parameter to connect to ExactTargetentityId
- Id of the published email/newsletter as saved on ExactTargetExactTargetException
java.util.List<List> getSubscriberList(Configuration configuration, FilterPart filter) throws ExactTargetException
configuration
- ExactTarget configuration from cloud services.filter
- Filter containing list filters. Pass null for no filter.ExactTargetException
- in case of errors.java.util.List<PropertyDefinition> describeSubscriber(Configuration configuration) throws ExactTargetException
configuration
- ExactTarget Configuration from cloud servicesExactTargetException
- in case of errors.java.util.List<DataExtension> retrieveDataExtension(Configuration configuration, java.lang.String[] properties, FilterPart filter) throws ExactTargetException
data extension
objects.configuration
- ExactTarget Configuration from cloud servicesproperties
- The properties of the data extension to be retrieved.filter
- Filter
to be applied while retrieving, e.g, IsSendable equals trueExactTargetException
- in case of errorsjava.util.List<DataExtensionField> retrieveDataExtensionFields(Configuration configuration, FilterPart filter, java.lang.String[] fields) throws ExactTargetException
columns
from the data extension specified in the filterconfiguration
- ExactTarget Configuration from cloud servicesfilter
- Filter should specify the DataExtension whose columns are to be retrieved, e.g., DataExtension.CustomerKey equals *****fields
- Attributes of the columns, e.g., Name, DefaultValue, etc.column fields
ExactTargetException
- in case of errors"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"