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, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterscheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public boolean isReadyToCallExecute()
isReadyToCallExecute in class com.ibm.commerce.command.AbstractECTargetableCommandpublic void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.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 EmailPromotionDeleteTaskCmdid - The ID of the e-mail promotion to be deleted.