public class EmailPromotionDeleteTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements EmailPromotionDeleteTaskCmd
EmailPromotionDeleteCmd
interface to
provide the task command that deletes e-mail promotions.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName
Constructor and Description |
---|
EmailPromotionDeleteTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void |
performExecute()
Performs the execution of the command.
|
void |
setEmailPromotionId(java.lang.Integer argEmailPromotionId)
Sets the e-mail promotion ID.
|
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, 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 boolean isReadyToCallExecute()
isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
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 EmailPromotionAccessBean
cannot delete the e-mail promotion
entry successfully.public void setEmailPromotionId(java.lang.Integer argEmailPromotionId)
setEmailPromotionId
in interface EmailPromotionDeleteTaskCmd
id
- The ID of the e-mail promotion to be deleted.