|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.campaigns.CampaignCollateralUpdateCmdImpl
The CampaignCollateralUpdateCmdImpl class implements the CampaignCollateralUpdateCmd interface to provide the task command that updates an ad copy. Different implementations of this interface can be provided for different stores.
Field Summary | |
protected java.lang.String |
_collateralDescriptionField1
Collateral description field 1. |
protected java.lang.String |
_collateralDescriptionField2
Collateral description field 2. |
protected java.lang.String |
_collateralField1
Collateral custom field 1. |
protected java.lang.String |
_collateralField2
Collateral custom field 2. |
protected java.lang.Integer |
_collateralId
Collateral ID. |
protected java.lang.String |
_collateralLocation
Collateral image file location. |
protected java.lang.String |
_collateralMarketingText
Collateral marketing text. |
protected java.lang.String |
_collateralName
Collateral name. |
protected java.lang.Integer |
_collateralType
Collateral image type. |
protected java.lang.String |
_collateralUrl
Collateral URL. |
static java.lang.String |
COPYRIGHT
Copyright. |
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.campaigns.CampaignCollateralUpdateCmd |
defaultCommandClassName, Name |
Constructor Summary | |
CampaignCollateralUpdateCmdImpl()
|
Method Summary | |
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. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
protected java.lang.String _collateralDescriptionField1
protected java.lang.String _collateralDescriptionField2
protected java.lang.String _collateralField1
protected java.lang.String _collateralField2
protected java.lang.Integer _collateralId
protected java.lang.String _collateralLocation
protected java.lang.String _collateralMarketingText
protected java.lang.String _collateralName
protected java.lang.Integer _collateralType
protected java.lang.String _collateralUrl
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CampaignCollateralUpdateCmdImpl()
Method Detail |
public boolean isReadyToCallExecute()
false
if the collateral ID is null.isReadyToCallExecute
in class AbstractECCommand
true
if the command is ready to go.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |