com.ibm.commerce.tools.campaigns
Interface CampaignInitiativeDisableCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CampaignInitiativeDisableCmdImpl

public interface CampaignInitiativeDisableCmd
extends TaskCommand

The CampaignInitiativeDisableCmd interface must be implemented to provide a task command that updates campaign initiatives. Different implementations of this interface can be provided for different stores.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static java.lang.String defaultCommandClassName
          defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeDisableCmd is not defined in the CMDREG table.
static java.lang.String Name
          The name of this interface.
 
Method Summary
 void setInitiativeId(java.lang.Integer id)
          Sets the campaign initiative ID.
 void setInitiativeStatus(java.lang.String status)
          Sets the campaign initiative status.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeDisableCmd is not defined in the CMDREG table.

Name

public static final java.lang.String Name
The name of this interface.
Method Detail

setInitiativeId

public void setInitiativeId(java.lang.Integer id)
Sets the campaign initiative ID. This parameter is required.
Parameters:
initiativeId - The ID of the campaign initiative to be resumed/suspended.

setInitiativeStatus

public void setInitiativeStatus(java.lang.String status)
Sets the campaign initiative status.
Parameters:
status - The status of the campaign initiative to be resumed/suspended.