public class ReadActivityMediator extends AbstractReadBusinessObjectMediatorImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMAIL_PROMO_DELETED
Constant representing an email activity has been deleted.
|
static java.lang.String |
EMAIL_PROMO_SCHEDULED
Constant representing an email activity has been scheduled, but has not yet been sent.
|
static java.lang.String |
EMAIL_PROMO_SENT
Constant representing an email activity has been sent.
|
static java.lang.String |
EMAIL_PROMO_UNSENT
Constant representing an email activity has not been sent.
|
Constructor and Description |
---|
ReadActivityMediator() |
Modifier and Type | Method and Description |
---|---|
void |
buildNoun(java.lang.Object aLogicalEntityType,
java.lang.Object aPhysicalEntityType)
This method builds the main Activity noun.
|
void |
buildUserData(ActivityType aLogicalEntityType,
Dmactivity aPhysicalEntity)
This method populates the activity noun level configurable user data.
|
java.lang.Object |
createNounType()
This method creates a noun type that corresponds to the root physical entity.
|
static java.math.BigInteger |
getEmailPromotionStatus(java.lang.String activityId,
MarketingEmailStatisticsType emailStats)
This method returns the status of an email promotion associated with an e-mail activity.
|
buildNounParts, getNouns, getPhysicalDataContainer, getSelectionCriteria, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeConfig
public static final java.lang.String EMAIL_PROMO_UNSENT
public static final java.lang.String EMAIL_PROMO_SENT
public static final java.lang.String EMAIL_PROMO_DELETED
public static final java.lang.String EMAIL_PROMO_SCHEDULED
public void buildNoun(java.lang.Object aLogicalEntityType, java.lang.Object aPhysicalEntityType) throws AbstractApplicationException
aLogicalEntityType
- The logical noun.aPhysicalEntityType
- The physical data object.AbstractApplicationException
public static java.math.BigInteger getEmailPromotionStatus(java.lang.String activityId, MarketingEmailStatisticsType emailStats) throws DataMediatorException
activityId
- The ID of the activity to check the associated e-mail promotion.emailStats
- The MarketingEmailStatisticsType
object to be populated
if the email has been sent. The parameter may be null if the detailed statistics are not
required.DataMediatorException
public java.lang.Object createNounType() throws AbstractApplicationException
AbstractApplicationException
public void buildUserData(ActivityType aLogicalEntityType, Dmactivity aPhysicalEntity) throws AbstractApplicationException
aLogicalEntityType
- The logical noun.aPhysicalEntity
- The physical data object.AbstractApplicationException