public class CollateralDataBean extends CollateralAccessBean implements CollateralInputDataBean, CollateralSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CollateralDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | constructUrlLink(java.lang.String partialUrl)
This method updates the given partially completed URL with appropriate parameter values and builds the full URL.
|
AttachmentDataBean | getAttachmentDataBean()
Gets Attachment Data Bean.
|
java.lang.Long | getCatalogId()
Gets the ID of the catalog that the shopper is currently viewing.
|
java.lang.Integer | getCollateralID()
Gets the ID of this collateral.
|
CommandContext | getCommandContext()
Gets the current command context
|
java.lang.String | getCustomerField1()
Gets the customizable field 1 of this collateral.
|
java.lang.String | getCustomerField2()
Gets the customizable field 2 of this collateral.
|
java.lang.String | getDescriptionCustomerField1()
Gets the customizable description field 1 of this collateral.
|
java.lang.String | getDescriptionCustomerField2()
Gets the customizable description field 2 of this collateral.
|
java.lang.String | getFilePath()
Gets the image or flash file path of this collateral.
|
java.lang.Integer | getLanguageId()
Gets the ID of the current language that is in use.
|
java.lang.String | getLocation()
Gets the image or flash file location of this collateral.
|
java.lang.String | getMarketingText()
Gets the marketing text of this collateral.
|
java.lang.String | getMimeType()
Gets the mime type.
|
java.lang.String | getName()
Gets the name of this collateral.
|
java.lang.String[] | getPromotionData()
Gets the promotion data that is associated with this ad copy.
|
TypedProperty | getRequestProperties()
Gets the request properties that is currently being used.
|
java.lang.Integer | getStoreID()
Gets the ID of the store that is currently logged on to.
|
java.lang.Object[] | getSubstitutionValues()
Gets the Substitution Values for this Collateral.
|
java.lang.Integer | getTypeID()
Gets the ID of the type that this collateral belongs to.
|
java.lang.String | getTypeName()
Gets the name of the type that this collateral belongs to.
|
java.lang.String | getUrlLink()
Gets the URL link of this collateral.
|
boolean | isPromotionValid()
Gets the promotion validation flag that is associated with this ad copy.
|
void | populate()
Populates this data bean that represents a single collateral in the database.
|
void | setAttachmentDataBean(AttachmentDataBean bean)
Sets Attachment data bean
|
void | setCatalogId(java.lang.Long newCatalogId)
Sets the ID of the catalog that the shopper is currently viewing.
|
void | setCollateralID(java.lang.Integer newCollateralID)
Sets the ID of this collateral.
|
void | setCommandContext(CommandContext context)
Sets the current command context.
|
void | setCustomerField1(java.lang.String newCustomerField1)
Sets the customizable field 1 of this collateral.
|
void | setCustomerField2(java.lang.String newCustomerField2)
Sets the customizable field 2 of this collateral.
|
void | setDescriptionCustomerField1(java.lang.String newDescriptionCustomerField1)
Sets the customizable description field 1 of this collateral.
|
void | setDescriptionCustomerField2(java.lang.String newDescriptionCustomerField2)
Sets the customizable description field 2 of this collateral.
|
void | setFilePath(java.lang.String newFilePath)
Sets the image or flash file path of this collateral.
|
void | setLanguageId(java.lang.Integer newLanguageId)
Sets the ID of the current language that is in use.
|
void | setLocation(java.lang.String newLocation)
Sets the image or flash file location of this collateral.
|
void | setMarketingText(java.lang.String newMarketingText)
Sets the marketing text of this collateral.
|
void | setMimeType(java.lang.String string)
Sets mime type.
|
void | setName(java.lang.String newName)
Sets the name of this collateral.
|
void | setPromotionData(java.lang.String[] newPromotionData)
Sets the promotion data that is associated with this ad copy.
|
void | setRequestProperties(TypedProperty requestProperties)
Sets the request properties that is currently being used.
|
void | setStoreID(java.lang.Integer newStoreID)
Sets the ID of the store that is currently logged on to.
|
void | setSubstitutionValues(java.lang.Object[] _substitutionValues)
Set the Substitution Values for this Collateral.
|
void | setType(java.lang.Integer newTypeID)
Sets the ID of the type that this collateral belongs to.
|
void | setTypeName(java.lang.String newTypeName)
Sets the name of the type that this collateral belongs to.
|
void | setUrlLink(java.lang.String newUrlLink)
Sets the URL link of this collateral.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long getCatalogId()
public java.lang.Integer getCollateralID()
public CommandContext getCommandContext()
public java.lang.String getCustomerField1()
public java.lang.String getCustomerField2()
public java.lang.String getDescriptionCustomerField1()
public java.lang.String getDescriptionCustomerField2()
public java.lang.String getFilePath()
public java.lang.Integer getLanguageId()
public java.lang.String getLocation()
public java.lang.String getMarketingText()
public java.lang.String getName()
public java.lang.String[] getPromotionData()
public TypedProperty getRequestProperties()
public java.lang.Integer getStoreID()
public java.lang.Integer getTypeID()
public java.lang.String getTypeName()
public java.lang.String getUrlLink()
public boolean isPromotionValid()
public void populate() throws java.lang.Exception
public void setCatalogId(java.lang.Long newCatalogId)
public void setCollateralID(java.lang.Integer newCollateralID)
public void setCommandContext(CommandContext context)
public void setCustomerField1(java.lang.String newCustomerField1)
public void setCustomerField2(java.lang.String newCustomerField2)
public void setDescriptionCustomerField1(java.lang.String newDescriptionCustomerField1)
public void setDescriptionCustomerField2(java.lang.String newDescriptionCustomerField2)
public void setFilePath(java.lang.String newFilePath)
public void setLanguageId(java.lang.Integer newLanguageId)
public void setLocation(java.lang.String newLocation)
public void setMarketingText(java.lang.String newMarketingText)
public void setName(java.lang.String newName)
public void setPromotionData(java.lang.String[] newPromotionData)
public void setRequestProperties(TypedProperty requestProperties)
public void setStoreID(java.lang.Integer newStoreID)
public void setType(java.lang.Integer newTypeID)
public void setTypeName(java.lang.String newTypeName)
public void setUrlLink(java.lang.String newUrlLink)
public java.lang.String constructUrlLink(java.lang.String partialUrl)
public AttachmentDataBean getAttachmentDataBean()
public void setAttachmentDataBean(AttachmentDataBean bean)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String string)
public java.lang.Object[] getSubstitutionValues()
public void setSubstitutionValues(java.lang.Object[] _substitutionValues)