com.ibm.commerce.tools.campaigns
Interface CampaignInitiativeUpdateCmd

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

public interface CampaignInitiativeUpdateCmd
extends TaskCommand

The CampaignInitiativeUpdateCmd 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.CampaignInitiativeUpdateCmd is not defined in the CMDREG table.
static java.lang.String Name
          The name of this interface.
 
Method Summary
 void setInitiativeCampaignId(java.lang.Integer campaignId)
          Sets the campaign ID of the initiative.
 void setInitiativeDescription(java.lang.String description)
          Sets the description of the campaign initiative.
 void setInitiativeField1(java.lang.String field1)
          Sets the custom field of the campaign initiative.
 void setInitiativeId(java.lang.Integer id)
          Sets the ID of the campaign initiative.
 void setInitiativeName(java.lang.String name)
          Sets the name of the campaign initiative.
 void setInitiativeResultType(java.lang.String resultType)
          Sets the result type of the campaign initiative.
 void setInitiativeRule(java.lang.String rule)
          Sets the rule of the campaign initiative.
 void setInitiativeSegments(java.util.Vector segments)
          Sets the segments of the campaign initiative.
 void setInitiativeSellType(java.lang.Integer sellType)
          Sets the sell type of the campaign initiative.
 void setInitiativeStatus(java.lang.String status)
          Sets the status of the campaign initiative.
 void setInitiativeType(java.lang.Integer type)
          Sets the type of the campaign initiative.
 
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.CampaignInitiativeUpdateCmd is not defined in the CMDREG table.

Name

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

setInitiativeCampaignId

public void setInitiativeCampaignId(java.lang.Integer campaignId)
Sets the campaign ID of the initiative.
Parameters:
campaignId - The campaign ID of the initiative.

setInitiativeDescription

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

setInitiativeField1

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

setInitiativeId

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

setInitiativeName

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

setInitiativeResultType

public void setInitiativeResultType(java.lang.String resultType)
Sets the result type of the campaign initiative.
Parameters:
resultType - The result type of the campaign initiative.

setInitiativeRule

public void setInitiativeRule(java.lang.String rule)
Sets the rule of the campaign initiative.
Parameters:
rule - The rule of the campaign initiative.

setInitiativeSegments

public void setInitiativeSegments(java.util.Vector segments)
Sets the segments of the campaign initiative.
Parameters:
segments - The segments of the campaign initiative.

setInitiativeSellType

public void setInitiativeSellType(java.lang.Integer sellType)
Sets the sell type of the campaign initiative.
Parameters:
sellType - The sell type of the campaign initiative.

setInitiativeStatus

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

setInitiativeType

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