public class CampaignEmsCreateCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CampaignEmsCreateCmd
CampaignEmsCreateCmd
interface to provide the task command
that creates an e-Marketing Spot. 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 |
---|
CampaignEmsCreateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getEmsId()
Returns the e-Marketing Spot ID of the newly created e-Marketing Spot.
|
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 |
setEmsName(java.lang.String name)
Sets the e-Marketing Spot name.
|
void |
setSupportedTypes(java.lang.String supportedTypes)
Sets the e-Marketing Spot supported types.
|
void |
setUsageType(java.lang.String usageType)
Sets the usage type of the e-Marketing Spot.
|
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 java.lang.Integer getEmsId()
getEmsId
in interface CampaignEmsCreateCmd
public boolean isReadyToCallExecute()
false
if the e-Marketing Spot name 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 setEmsDescription(java.lang.String description)
setEmsDescription
in interface CampaignEmsCreateCmd
description
- The description of the e-Marketing Spot.public void setEmsName(java.lang.String name)
setEmsName
in interface CampaignEmsCreateCmd
name
- The name of the e-Marketing Spot.public void setSupportedTypes(java.lang.String supportedTypes)
setSupportedTypes
in interface CampaignEmsCreateCmd
supportedTypes
- The supported types of the e-Marketing Spot.public void setUsageType(java.lang.String usageType)
setUsageType
in interface CampaignEmsCreateCmd
usageType
- The usage type of the e-Marketing Spot.