public class CampaignCollateralDataBean extends CampaignCollateralDataBeanBase implements CampaignConstants
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | _attachLocation
Collateral file location.
|
protected java.lang.String | _collateralName
Collateral name.
|
protected java.lang.Integer | _collateralType
Collateral image type.
|
protected java.lang.String | _descField1
Collateral description field 1.
|
protected java.lang.String | _descField2
Collateral description field 2.
|
protected java.lang.String | _field1
Collateral custom field 1.
|
protected java.lang.String | _field2
Collateral custom field 2.
|
protected java.lang.Integer | _id
Collateral ID.
|
protected java.lang.String | _location
Deprecated.
This field is replaced by _attachLocation for the new attachment support.
|
protected java.lang.String | _marketingText
Collateral marketing text.
|
protected java.lang.Integer | _storeId
ID of the store which this collateral belongs to.
|
protected java.lang.String | _typeName
Collateral image type name.
|
protected java.util.Vector | _typeSelection
All collateral types available in the user interface.
|
protected java.lang.String | _url
Collateral URL.
|
protected java.lang.String | _urlCommand
Collateral URL, only used for command URL.
|
protected java.lang.String | _urlCommandParameter
Collateral URL parameter, which is the product/category/coupon name of the command parameter.
|
protected java.lang.String | _urlCommandType
WebSphere Commerce command used by collateral URL.
|
protected java.lang.String | _urlCustom
Collateral URL, only used for custom URL.
|
protected java.lang.String | _urlType
Collateral URL type, either URL using WebSphere Commerce command or custom URL.
|
protected java.util.Hashtable | _xml
A tree of hashtables that models an XML document.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | URL_TYPE_COMMAND
Static text used to represent that the URL makes use of the WebSphere Commerce command.
|
static java.lang.String | URL_TYPE_CUSTOM
Static text used to represent that the URL is custom built.
|
static java.lang.String | URL_TYPE_NONE
Static text used to represent that the URL of this ad copy is not required.
|
Constructor and Description |
---|
CampaignCollateralDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCollateralName()
Gets the collateral name.
|
java.lang.Integer | getCollateralType()
Gets the collateral image type.
|
java.lang.String | getDescriptionField1()
Gets the collateral description field 1.
|
java.lang.String | getDescriptionField2()
Gets the collateral description field 2.
|
java.lang.String | getField1()
Gets the collateral custom field 1.
|
java.lang.String | getField2()
Gets the collateral custom field 2.
|
java.lang.Integer | getId()
Gets the collateral ID.
|
java.lang.String | getLocation()
Deprecated.
This method is replaced by method getLocations() for the new attachment support.
|
java.lang.String | getLocations()
Gets the collateral image file location.
|
java.lang.String | getMarketingText()
Gets the collateral marketing text.
|
java.lang.Integer | getStoreId()
Gets the ID of the store which this collateral belongs to.
|
java.lang.String | getTargetId()
Gets target id
|
java.lang.String | getTypeName()
Gets the collateral image type name.
|
java.util.Vector | getTypeSelection()
Gets all collateral types available in the user interface.
|
java.lang.String | getUrl()
Gets the collateral URL.
|
java.lang.String | getUrlCommand()
Gets the collateral URL, this should only be used for command URL.
|
java.lang.String | getUrlCommandParameter()
Gets the collateral parameter, which is the product, category, promotion or coupon name of the command URL parameter.
|
java.lang.String | getUrlCommandType()
Gets the WebSphere Commerce command used by collateral URL.
|
java.lang.String | getUrlCustom()
Gets the collateral URL, this should only be used for custom URL.
|
java.lang.String | getUrlType()
Gets the collateral URL type, either URL using WebSphere Commerce command or custom URL.
|
void | populate()
Populate the data bean that includes all the data related to this collateral.
|
void | setId(java.lang.Integer id)
Sets the collateral ID.
|
void | setTargetId(java.lang.String tgtId)
Sets target id
|
void | setXML(java.util.Hashtable xml)
Sets the XML.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String URL_TYPE_NONE
public static final java.lang.String URL_TYPE_COMMAND
public static final java.lang.String URL_TYPE_CUSTOM
protected java.lang.Integer _id
protected java.lang.String _collateralName
protected java.lang.String _url
protected java.lang.String _urlType
protected java.lang.String _urlCommand
protected java.lang.String _urlCustom
protected java.lang.String _urlCommandType
protected java.lang.String _urlCommandParameter
protected java.lang.String _field1
protected java.lang.String _field2
protected java.lang.String _descField1
protected java.lang.String _descField2
protected java.lang.String _marketingText
protected java.lang.String _location
protected java.lang.String _attachLocation
protected java.lang.Integer _collateralType
protected java.lang.Integer _storeId
protected java.lang.String _typeName
protected java.util.Vector _typeSelection
protected java.util.Hashtable _xml
public java.lang.String getCollateralName()
public java.lang.Integer getCollateralType()
public java.lang.String getDescriptionField1()
public java.lang.String getDescriptionField2()
public java.lang.String getField1()
public java.lang.String getField2()
public java.lang.Integer getId()
public java.lang.String getLocations()
public java.lang.String getLocation()
public java.lang.String getMarketingText()
public java.lang.Integer getStoreId()
public java.lang.String getTypeName()
public java.util.Vector getTypeSelection()
public java.lang.String getUrl()
public java.lang.String getUrlType()
public java.lang.String getUrlCommand()
public java.lang.String getUrlCustom()
public java.lang.String getUrlCommandType()
public java.lang.String getUrlCommandParameter()
public void populate() throws java.lang.Exception
public void setId(java.lang.Integer id)
public void setXML(java.util.Hashtable xml)
public java.lang.String getTargetId()
public void setTargetId(java.lang.String tgtId)