com.ibm.commerce.tools.campaigns
Class CampaignEmsDeleteCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.tools.campaigns.CampaignEmsDeleteCmdImpl
- All Implemented Interfaces:
- CampaignEmsDeleteCmd, ECCommand, TaskCommand
- public class CampaignEmsDeleteCmdImpl
- extends TaskCommandImpl
- implements CampaignEmsDeleteCmd
The CampaignEmsDeleteCmdImpl class implements the CampaignEmsDeleteCmd interface to
provide the task command that deletes e-marketing spots.
Different implementations of this interface
can be provided for different stores.
Field Summary |
protected java.lang.Integer |
_emsId
e-Marketing spot ID. |
static java.lang.String |
COPYRIGHT
Copyright. |
Method Summary |
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call. |
void |
performExecute()
Performs the execution of the command. |
void |
setEmsId(java.lang.Integer emsId)
Sets the e-marketing spot ID. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
_emsId
protected java.lang.Integer _emsId
- e-Marketing spot ID.
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
CampaignEmsDeleteCmdImpl
public CampaignEmsDeleteCmdImpl()
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Checks to see if the command is ready to call. This method will
return
false
if the e-marketing spot ID is null.
- Overrides:
isReadyToCallExecute
in class AbstractECCommand
- Returns:
true
if the command is ready to go.
performExecute
public void performExecute()
throws ECException
- Performs the execution of the command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setEmsId
public void setEmsId(java.lang.Integer emsId)
- Sets the e-marketing spot ID. This parameter is required.
- Specified by:
setEmsId
in interface CampaignEmsDeleteCmd
- Parameters:
emsId
- The ID of the e-marketing spot to be deleted.