The CampaignInitiatveCreateCmd interface must be implemented to provide a task command that creates 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.CampaignInitiativeCreateCmd is not defined in the CMDREG table. |
static java.lang.String |
Name The name of this interface. |
Method Summary | |
---|---|
java.lang.Integer |
getInitiativeId() Returns the campaign initiaive ID of the newly created campaign initiative. |
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 |
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. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String Name
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Integer getInitiativeId()
public void setInitiativeCampaignId(java.lang.Integer campaignId)
campaignId
- The campaign ID of the
initiative.public void setInitiativeDescription(java.lang.String description)
description
- The description of the campaign
initiative.public void setInitiativeField1(java.lang.String field1)
field1
- The custom field of the campaign
initiative.public void setInitiativeName(java.lang.String name)
name
- The name of the campaign
initiative.public void setInitiativeResultType(java.lang.String resultType)
resultType
- The result type of the campaign
initiative.public void setInitiativeRule(java.lang.String rule)
rule
- The rule of the campaign
initiative.public void setInitiativeSegments(java.util.Vector segments)
segments
- The segments of the campaign
initiative.public void setInitiativeSellType(java.lang.Integer sellType)
sellType
- The sell type of the campaign
initiative.public void setInitiativeStatus(java.lang.String status)
status
- The status of the campaign
initiative.public void setInitiativeType(java.lang.Integer type)
type
- The type of the campaign
initiative.