com.ibm.commerce.tools.campaigns
Interface CampaignUpdateCmd

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

public interface CampaignUpdateCmd
extends TaskCommand

The CampaignUpdateCmd interface must be implemented to provide a task command that updates 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.CampaignUpdateCmd is not defined in the CMDREG table.
static java.lang.String Name
          The name of this interface.
 
Method Summary
 void setCampaignDescription(java.lang.String description)
          Sets the description of the campaign.
 void setCampaignField1(java.lang.String field1)
          Sets the custom field of the campaign.
 void setCampaignId(java.lang.Integer id)
          Sets the ID of the campaign.
 void setCampaignName(java.lang.String name)
          Sets the name of the campaign.
 void setCampaignObjective(java.lang.String objective)
          Sets the business objective of the campaign.
 void setCampaignOwner(java.lang.String owner)
          Sets the sponsor of the campaign.
 void setCampaignStatus(java.lang.String status)
          Sets the status of the campaign.
 void setCampaignType(java.lang.Integer type)
          Sets the type of the campaign.
 
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.CampaignUpdateCmd is not defined in the CMDREG table.

Name

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

setCampaignDescription

public void setCampaignDescription(java.lang.String description)
Sets the description of the campaign.
Parameters:
description - The description of the campaign.

setCampaignField1

public void setCampaignField1(java.lang.String field1)
Sets the custom field of the campaign.
Parameters:
field1 - The custom field of the campaign.

setCampaignId

public void setCampaignId(java.lang.Integer id)
Sets the ID of the campaign.
Parameters:
id - The ID of the campaign.

setCampaignName

public void setCampaignName(java.lang.String name)
Sets the name of the campaign.
Parameters:
name - The name of the campaign.

setCampaignObjective

public void setCampaignObjective(java.lang.String objective)
Sets the business objective of the campaign.
Parameters:
objective - The business objective of the campaign.

setCampaignOwner

public void setCampaignOwner(java.lang.String owner)
Sets the sponsor of the campaign.
Parameters:
owner - The sponsor of the campaign.

setCampaignStatus

public void setCampaignStatus(java.lang.String status)
Sets the status of the campaign.
Parameters:
status - The status of the campaign.

setCampaignType

public void setCampaignType(java.lang.Integer type)
Sets the type of the campaign.
Parameters:
type - The type of the campaign.