java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.emarketing.commands.EmailPromotionSaveTaskCmdImpl
The TaskCommand
that is used to save e-mail promotion entries.
These e-mail promotion entries are the persisted form of e-mail activities.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
EmailPromotionSaveTaskCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getDescription() Gets the description of the e-mail activity. |
java.lang.Integer |
getEmailMessageId() Gets the e-mail message ID of the e-mail message that will be sent by the e-mail activity. |
java.lang.Integer |
getEmailPromotionId() Gets the e-mail promotion ID that acts as the key to the e-mail activity. |
java.lang.Long |
getJobReferenceNumber() Gets the jobReferenceNumber that will launch the e-mail activity. |
java.lang.Long |
getMemberGroupId() Gets the member group ID (customer profile) that will receive the e-mail activity. |
java.lang.String |
getModifiedBy() Gets the logon name of the person who is modifying/creating the e-mail activity. |
java.sql.Timestamp |
getModifiedDate() Gets the time when this e-mail activity is modified. |
java.lang.String |
getName() Gets the name of the e-mail activity. |
java.lang.Integer |
getStatus() Gets the status of the e-mail activity (unsent, sent, deleted) |
java.lang.Integer |
getStoreEntityId() Gets the store ID associated with this e-mail activity. |
void |
setDescription(java.lang.String description) Sets the description of the e-mail activity. |
void |
setEmailMessageId(java.lang.Integer emailMessageId) Sets the e-mail message ID of the message template sent by the e-mail activity. |
void |
setEmailPromotionId(java.lang.Integer emailPromotionId) Sets the e-mail promotion ID of the e-mail activity. |
void |
setJobReferenceNumber(java.lang.Long jobReferenceNumber) Sets the JobReferenceNumber of the scheduled job that will launch the e-mail activity |
void |
setMemberGroupId(java.lang.Long memberGroupId) Sets the member group ID of the customer profile that will receive the e-mail activity. |
void |
setModifiedBy(java.lang.String modifiedBy) Sets the user logon name of the person who modified/created the e-mail activity. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate) Sets the date when this e-mail activity is modified |
void |
setName(java.lang.String name) Sets the name of the e-mail activity. |
void |
setStatus(java.lang.Integer status) Sets the status of the e-mail activity (unsent, sent, deleted) |
void |
setStoreEntityId(java.lang.Integer storeEntityId) Sets the store ID of the store to which the activity belongs. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
performExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public EmailPromotionSaveTaskCmdImpl()
Method Detail |
---|
public java.lang.String getDescription()
public java.lang.Integer getEmailMessageId()
public java.lang.Integer getEmailPromotionId()
getEmailPromotionId
in interface
EmailPromotionSaveTaskCmd
public java.lang.Long getJobReferenceNumber()
public java.lang.Long getMemberGroupId()
public java.lang.String getModifiedBy()
public java.sql.Timestamp getModifiedDate()
public java.lang.String getName()
public java.lang.Integer getStoreEntityId()
public java.lang.Integer getStatus()
public void setEmailMessageId(java.lang.Integer emailMessageId)
setEmailMessageId
in interface
EmailPromotionSaveTaskCmd
emailMessageId
- The e-mail message ID of the e-mail
activitypublic void setEmailPromotionId(java.lang.Integer emailPromotionId)
setEmailPromotionId
in interface
EmailPromotionSaveTaskCmd
emailPromotionId
- the e-mail promotion
ID.public void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
setJobReferenceNumber
in interface
EmailPromotionSaveTaskCmd
jobReferenceNumber
- The job reference
number.public void setMemberGroupId(java.lang.Long memberGroupId)
setMemberGroupId
in interface
EmailPromotionSaveTaskCmd
memberGroupId
- The member group ID.public void setModifiedBy(java.lang.String modifiedBy)
setModifiedBy
in interface
EmailPromotionSaveTaskCmd
modifiedBy
- The user who modified/created the e-mail
activitypublic void setModifiedDate(java.sql.Timestamp modifiedDate)
setModifiedDate
in interface
EmailPromotionSaveTaskCmd
modifiedDate
- The time when the e-mail activity is last
modifiedpublic void setStatus(java.lang.Integer status)
setStatus
in interface
EmailPromotionSaveTaskCmd
status
- 0=unsent, 1=sent, 2=deleted.public void setStoreEntityId(java.lang.Integer storeEntityId)
setStoreEntityId
in interface
EmailPromotionSaveTaskCmd
storeEntityId
- The store ID.public void setName(java.lang.String name)
setName
in interface
EmailPromotionSaveTaskCmd
name
- The name of the e-mail activitypublic void setDescription(java.lang.String description)
setDescription
in interface
EmailPromotionSaveTaskCmd
description
- The description of the e-mail
activity.