java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.campaigns.CampaignEmsUpdateCmdImpl
This class implements the CampaignEmsUpdateCmd
interface to
provide the task command that updates an e-Marketing Spot. Different
implementations of this interface can be provided for different stores.
Field Summary | |
---|---|
protected
java.lang.String |
_emsDescription e-Marketing Spot description. |
protected
java.lang.Integer |
_emsId e-Marketing Spot ID. |
protected
java.lang.String |
_emsName e-Marketing Spot name. |
protected
java.lang.String |
_supportedTypes e-Marketing Spot supported types. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.campaigns. CampaignEmsUpdateCmd |
defaultCommandClassName,
Name |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CampaignEmsUpdateCmdImpl() |
Method Summary | |
---|---|
boolean |
isReadyToCallExecute() Checks to see if the command is ready to call. |
void |
performExecute() Performs the execution of the command. |
void |
setEmsDescription(java.lang.String description) Sets the e-Marketing Spot description. |
void |
setEmsId(java.lang.Integer id) Sets the e-Marketing Spot ID. |
void |
setEmsName(java.lang.String name) Sets the e-Marketing Spot name. |
void |
setSupportedTypes(java.lang.String supportedTypes) Sets the e-Marketing Spot supported types. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.Integer _emsId
protected java.lang.String _emsName
protected java.lang.String _emsDescription
protected java.lang.String _supportedTypes
Constructor Detail |
---|
public CampaignEmsUpdateCmdImpl()
Method Detail |
---|
public boolean isReadyToCallExecute()
false
if the e-Marketing Spot ID is null.
isReadyToCallExecute
in class
AbstractECTargetableCommand
true
if the command is ready to go.public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void setEmsDescription(java.lang.String description)
setEmsDescription
in interface
CampaignEmsUpdateCmd
description
- The description of the e-Marketing
Spot.public void setEmsId(java.lang.Integer id)
setEmsId
in interface
CampaignEmsUpdateCmd
id
- The ID of the e-Marketing Spot.public void setEmsName(java.lang.String name)
setEmsName
in interface
CampaignEmsUpdateCmd
name
- The name of the e-Marketing Spot.public void setSupportedTypes(java.lang.String supportedTypes)
setSupportedTypes
in interface
CampaignEmsUpdateCmd
supportedTypes
- The supported types of the e-Marketing
Spot.