com.ibm.commerce.tools.campaigns
Class CampaignEmsDeleteCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.tools.campaigns.CampaignEmsDeleteCmdImpl
- All Implemented Interfaces:
-
CampaignEmsDeleteCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class CampaignEmsDeleteCmdImpl
- extends
TaskCommandImpl
- implements
CampaignEmsDeleteCmd
This 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.
- See Also:
- Serialized
Form
Field Summary |
protected
java.lang.Integer |
_emsId
e-Marketing Spot ID. |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
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.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
-
Constant Field Values
_emsId
protected java.lang.Integer _emsId
- e-Marketing Spot ID.
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
AbstractECTargetableCommand
-
- Returns:
true
if the command is ready to go.
public void performExecute()
throws ECException
- Performs the execution of the command.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- See Also:
ECCommand#performExecute()
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.