public class CampaignInitiativeUpdateCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CampaignInitiativeUpdateCmd
CampaignInitiativeUpdateCmd
interface to provide the
task command that updates a campaign initiative. Different implementations of this interface
can be provided for different stores.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, Name
Constructor and Description |
---|
CampaignInitiativeUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void |
performExecute()
Performs the execution of the command.
|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public boolean isReadyToCallExecute()
false
if the campaign initiative ID is null.isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
true
if the command is ready to go.public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
ECCommand#performExecute()
public void setInitiativeCampaignId(java.lang.Integer campaignId)
setInitiativeCampaignId
in interface CampaignInitiativeUpdateCmd
campaignId
- The campaign ID of the initiative.public void setInitiativeDescription(java.lang.String description)
setInitiativeDescription
in interface CampaignInitiativeUpdateCmd
description
- The description of the campaign initiative.public void setInitiativeField1(java.lang.String field1)
setInitiativeField1
in interface CampaignInitiativeUpdateCmd
field1
- The custom field of the campaign initiative.public void setInitiativeId(java.lang.Integer id)
setInitiativeId
in interface CampaignInitiativeUpdateCmd
id
- The ID of the campaign initiative.public void setInitiativeName(java.lang.String name)
setInitiativeName
in interface CampaignInitiativeUpdateCmd
name
- The name of the campaign initiative.public void setInitiativeResultType(java.lang.String resultType)
setInitiativeResultType
in interface CampaignInitiativeUpdateCmd
resultType
- The result type of the campaign initiative.public void setInitiativeRule(java.lang.String rule)
setInitiativeRule
in interface CampaignInitiativeUpdateCmd
rule
- The rule of the campaign initiative.public void setInitiativeSegments(java.util.Vector segments)
setInitiativeSegments
in interface CampaignInitiativeUpdateCmd
segments
- The segments of the campaign initiative.public void setInitiativeSellType(java.lang.Integer sellType)
setInitiativeSellType
in interface CampaignInitiativeUpdateCmd
sellType
- The sell type of the campaign initiative.public void setInitiativeStatus(java.lang.String status)
setInitiativeStatus
in interface CampaignInitiativeUpdateCmd
status
- The status of the campaign initiative.public void setInitiativeType(java.lang.Integer type)
setInitiativeType
in interface CampaignInitiativeUpdateCmd
type
- The type of the campaign initiative.