com.ibm.commerce.tools.campaigns
Class CampaignInitiativeScheduleDeleteCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleDeleteCmdImpl
- All Implemented Interfaces:
-
CampaignInitiativeScheduleDeleteCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class CampaignInitiativeScheduleDeleteCmdImpl
- extends
TaskCommandImpl
- implements
CampaignInitiativeScheduleDeleteCmd
This interface must be implemented to provide a task command that deletes
the scheduling of an initiative from an e-Marketing Spot. Different
implementations of this interface can be provided for different stores.
- See Also:
-
Serialized Form
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
_initiativeScheduleId
protected java.lang.Integer _initiativeScheduleId
- Initiative schedule ID.
CampaignInitiativeScheduleDeleteCmdImpl
public CampaignInitiativeScheduleDeleteCmdImpl()
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Checks to see if the command is ready to call. This method will return
false
if the initiative schedule 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()
setInitiativeScheduleId
public void setInitiativeScheduleId(java.lang.Integer initiativeScheduleId)
- Sets the initiative schedule ID. This parameter is required.
-
- Specified by:
-
setInitiativeScheduleId
in interface
CampaignInitiativeScheduleDeleteCmd
-
- Parameters:
initiativeScheduleId
- The ID of the initiative schedule to be
deleted.