public class CampaignUpdateCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CampaignUpdateCmd
CampaignUpdateCmd
interface to provide the task
command that updates a campaign. 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 |
---|
CampaignUpdateCmdImpl() |
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 |
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.
|
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 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 setCampaignDescription(java.lang.String description)
setCampaignDescription
in interface CampaignUpdateCmd
description
- The description of the campaign.public void setCampaignField1(java.lang.String field1)
setCampaignField1
in interface CampaignUpdateCmd
field1
- The custom field of the campaign.public void setCampaignId(java.lang.Integer id)
setCampaignId
in interface CampaignUpdateCmd
id
- The ID of the campaign.public void setCampaignName(java.lang.String name)
setCampaignName
in interface CampaignUpdateCmd
name
- The name of the campaign.public void setCampaignObjective(java.lang.String objective)
setCampaignObjective
in interface CampaignUpdateCmd
objective
- The business objective of the campaign.public void setCampaignOwner(java.lang.String owner)
setCampaignOwner
in interface CampaignUpdateCmd
owner
- The sponsor of the campaign.public void setCampaignStatus(java.lang.String status)
setCampaignStatus
in interface CampaignUpdateCmd
status
- The status of the campaign.public void setCampaignType(java.lang.Integer type)
setCampaignType
in interface CampaignUpdateCmd
type
- The type of the campaign.