@ProviderType public interface TargetMediator extends TestandtargetCampaignMediator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PN_AUTHOR_EXTERNAL_ID
The JCR property that holds the Adobe Target id on the managed objects on the author instance.
|
static java.lang.String |
PN_EXTERNAL_ID
Deprecated.
Use
PN_PUBLISH_EXTERNAL_ID or PN_AUTHOR_EXTERNAL_ID
instead |
static java.lang.String |
PN_PUBLISH_EXTERNAL_ID
The JCR property that holds the Adobe Target id on the managed objects on the author instance.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteCampaign(java.lang.String campaignPath)
Deletes the Target campaign associated with the campaign at the provided path.
|
void |
deleteOffer(Configuration configuration,
long id)
Deletes the Target offer with the the provided id.
|
long |
syncOffer(Configuration configuration,
SaveOfferRequest request)
Synchronizes an offer with Adobe Target.
|
long |
syncOffer(Configuration configuration,
java.lang.String offerPath)
Synchronizes an offer with Adobe Target.
|
long |
syncSegment(Configuration configuration,
java.lang.String segmentPath)
Synchronizes a segment with Adobe Target
|
deactivatePublishCampaign, syncAuthorCampaign, syncPublishCampaign
static final java.lang.String PN_EXTERNAL_ID
PN_PUBLISH_EXTERNAL_ID
or PN_AUTHOR_EXTERNAL_ID
insteadstatic final java.lang.String PN_AUTHOR_EXTERNAL_ID
static final java.lang.String PN_PUBLISH_EXTERNAL_ID
long syncOffer(Configuration configuration, java.lang.String offerPath) throws TestandtargetException
offerPath
- the repository path of the offer.configuration
- the cloud services configuration containing the Adobe Target account detailsTestandtargetException
- TestandtargetException
long syncOffer(Configuration configuration, SaveOfferRequest request) throws TestandtargetException
configuration
- the Adobe Target cloud service configuration.request
- a SaveOfferRequest
object containing the offer's data - title and content.TestandtargetException
- if any errors are encountered during synchronizationlong syncSegment(Configuration configuration, java.lang.String segmentPath) throws TestandtargetException
segmentPath
- Segment Pathconfiguration
- the cloud services configuration containing the Adobe Target account detailsTestandtargetException
- TestandtargetException
void deleteCampaign(java.lang.String campaignPath) throws TestandtargetException
campaignPath
- the repository path of the campaign.TestandtargetException
- TestandtargetException
void deleteOffer(Configuration configuration, long id) throws TestandtargetException
configuration
- the cloud services configuration containing the Adobe Target account details.id
- the offer id.TestandtargetException
- TestandtargetException
Copyright © 2010 - 2020 Adobe. All Rights Reserved