public class CampaignCollateralUpdateCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CampaignCollateralUpdateCmd
CampaignCollateralUpdateCmd
interface to provide the
task command that updates an ad copy. 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 |
---|
CampaignCollateralUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCollateralId()
Gets unique ID of Collateral object.
|
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void |
performExecute()
Performs the execution of the command.
|
void |
setCollateralDescriptionField1(java.lang.String field1)
Sets the collateral description field 1.
|
void |
setCollateralDescriptionField2(java.lang.String field2)
Sets the collateral description field 2.
|
void |
setCollateralField1(java.lang.String field1)
Sets the collateral custom field 1.
|
void |
setCollateralField2(java.lang.String field2)
Sets the collateral custom field 2.
|
void |
setCollateralId(java.lang.Integer id)
Sets the collateral ID.
|
void |
setCollateralLocation(java.lang.String location)
Sets the collateral image file location.
|
void |
setCollateralMarketingText(java.lang.String text)
Sets the collateral marketing text.
|
void |
setCollateralName(java.lang.String name)
Sets the collateral name.
|
void |
setCollateralType(java.lang.Integer type)
Sets the collateral image type.
|
void |
setCollateralUrl(java.lang.String url)
Sets the collateral URL.
|
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 getCollateralId()
getCollateralId
in interface CampaignCollateralUpdateCmd
public boolean isReadyToCallExecute()
false
if the collateral 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 setCollateralDescriptionField1(java.lang.String field1)
setCollateralDescriptionField1
in interface CampaignCollateralUpdateCmd
field1
- The description field 1 of the collateral.public void setCollateralDescriptionField2(java.lang.String field2)
setCollateralDescriptionField2
in interface CampaignCollateralUpdateCmd
field2
- The description field 2 of the collateral.public void setCollateralField1(java.lang.String field1)
setCollateralField1
in interface CampaignCollateralUpdateCmd
field1
- The custom field 1 of the collateral.public void setCollateralField2(java.lang.String field2)
setCollateralField2
in interface CampaignCollateralUpdateCmd
field2
- The custom field 2 of the collateral.public void setCollateralId(java.lang.Integer id)
setCollateralId
in interface CampaignCollateralUpdateCmd
id
- The ID of the collateral.public void setCollateralLocation(java.lang.String location)
setCollateralLocation
in interface CampaignCollateralUpdateCmd
location
- The image file location of the collateral.public void setCollateralMarketingText(java.lang.String text)
setCollateralMarketingText
in interface CampaignCollateralUpdateCmd
text
- The marketing text of the collateral.public void setCollateralName(java.lang.String name)
setCollateralName
in interface CampaignCollateralUpdateCmd
name
- The name of the collateral.public void setCollateralType(java.lang.Integer type)
setCollateralType
in interface CampaignCollateralUpdateCmd
type
- The image type of the collateral.public void setCollateralUrl(java.lang.String url)
setCollateralUrl
in interface CampaignCollateralUpdateCmd
url
- The URL of the collateral.