public class UpdateEmailActivityCampaignRelationTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements UpdateEmailActivityCampaignRelationTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName
Constructor and Description |
---|
UpdateEmailActivityCampaignRelationTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Performs the command's operations.
|
void |
setCampaignId(java.lang.Integer campaignId)
Sets the campaign ID to which the e-mail activity associates.
|
void |
setEmailPromotionId(java.lang.Integer emailPromotionId)
Sets the e-mail promotion ID of the e-mail activity.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public UpdateEmailActivityCampaignRelationTaskCmdImpl()
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- Thrown when EmailCampaignRelationAccessBean
cannot record the opt-out successfully.public void setCampaignId(java.lang.Integer campaignId)
setCampaignId
in interface UpdateEmailActivityCampaignRelationTaskCmd
campaignId
- the campaign ID to which the e-mail activity associates.public void setEmailPromotionId(java.lang.Integer emailPromotionId)
setEmailPromotionId
in interface UpdateEmailActivityCampaignRelationTaskCmd
emailPromotionId
- the e-mail promotion ID.