com.ibm.commerce.tools.campaigns
Class CampaignInitiativeScheduleDeleteCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleDeleteCmdImpl
- All Implemented Interfaces:
- CampaignInitiativeScheduleDeleteCmd, ECCommand, TaskCommand
- public class CampaignInitiativeScheduleDeleteCmdImpl
- extends TaskCommandImpl
- implements CampaignInitiativeScheduleDeleteCmd
The CampaignInitiativeScheduleDeleteCmd 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.
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 |
_initiativeScheduleId
protected java.lang.Integer _initiativeScheduleId
- Initiative schedule ID.
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
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 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.
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.