com.ibm.commerce.tools.campaigns
Interface CampaignDeleteCmd

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

public interface CampaignDeleteCmd
extends TaskCommand

The CampaignDeleteCmd interface must be implemented to provide a task command that deletes campaigns. 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.CampaignDeleteCmd is not defined in the CMDREG table.
static java.lang.String Name
          The name of this interface.
 
Method Summary
 void setCampaignId(java.lang.Integer campaignId)
          Sets the campaign ID.
 
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.CampaignDeleteCmd is not defined in the CMDREG table.

Name

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

setCampaignId

public void setCampaignId(java.lang.Integer campaignId)
Sets the campaign ID. This parameter is required.
Parameters:
campaignId - The ID of the campaign to be deleted.