java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.marketingcenter.campaign.objects.CollateralAccessBean | +--com.ibm.commerce.marketing.beans.CollateralDataBean
This data bean represents an Ad copy. It encapsulates the data from the COLLATERAL, COLLDESC, and COLLTYPE tables.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
CollateralDataBean() |
Method Summary | |
---|---|
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.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 |
getName() Gets the name of this collateral. |
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.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. |
void |
populate() Populates this data bean that represents a single collateral in the database. |
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 |
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 |
setName(java.lang.String newName) Sets the name of this collateral. |
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 |
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. |
Methods inherited from class com.ibm.commerce.marketingcenter.campaign.objects. CollateralAccessBean |
commitCopyHelper,
defaultJNDIName,
findByStore,
findByStoreAndName,
findByStoreAndType,
findByStoreAndTypeWithOrder,
findByStoreSortedByName,
findByStoreSortedByType,
findByStoreWithOrder,
fulfills,
getCollateralId,
getCollateralIdInEJBType,
getOwner,
getStoreId,
getStoreIdInEJBType,
getType,
getTypeInEJBType,
instantiateEJB,
instantiateEJBByPrimaryKey,
refreshCopyHelper,
setCollateralId,
setCollateralId,
setInitKey_collateralId,
setStoreId,
setStoreId,
setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CollateralDataBean()
Method Detail |
---|
public java.lang.Integer getCollateralID()
public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
com.ibm.commerce.command.CommandContext
public java.lang.String getCustomerField1()
getCustomerField1
in interface
CollateralSmartDataBean
getCustomerField1
in class
CollateralAccessBean
public java.lang.String getCustomerField2()
getCustomerField2
in interface
CollateralSmartDataBean
getCustomerField2
in class
CollateralAccessBean
public java.lang.String getDescriptionCustomerField1()
getDescriptionCustomerField1
in interface
CollateralSmartDataBean
public java.lang.String getDescriptionCustomerField2()
getDescriptionCustomerField2
in interface
CollateralSmartDataBean
public java.lang.Integer getLanguageId()
public java.lang.String getLocation()
getLocation
in interface
CollateralSmartDataBean
public java.lang.String getMarketingText()
getMarketingText
in interface
CollateralSmartDataBean
public java.lang.String getName()
getName
in interface
CollateralSmartDataBean
getName
in class
CollateralAccessBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
com.ibm.commerce.datatype.TypedProperty
public java.lang.Integer getStoreID()
public java.lang.Integer getTypeID()
getTypeID
in interface
CollateralSmartDataBean
public java.lang.String getTypeName()
getTypeName
in interface
CollateralSmartDataBean
public java.lang.String getUrlLink()
getUrlLink
in interface
CollateralSmartDataBean
getUrlLink
in class
CollateralAccessBean
public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
java.lang.Exception
- Thrown when an error occurs during the
population of this data bean.public void setCollateralID(java.lang.Integer newCollateralID)
newCollateralID
- the collateral IDpublic void setCommandContext(CommandContext context)
setCommandContext
in interface
SmartDataBean
context
-
com.ibm.commerce.command.CommandContext
public void setCustomerField1(java.lang.String newCustomerField1)
setCustomerField1
in class
CollateralAccessBean
newCustomerField1
- the customizable field 1public void setCustomerField2(java.lang.String newCustomerField2)
setCustomerField2
in class
CollateralAccessBean
newCustomerField2
- the customizable field 2public void setDescriptionCustomerField1(java.lang.String newDescriptionCustomerField1)
newDescriptionCustomerField1
- the customizable description
field 1public void setDescriptionCustomerField2(java.lang.String newDescriptionCustomerField2)
newDescriptionCustomerField2
- the customizable description
field 2public void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- the language IDpublic void setLocation(java.lang.String newLocation)
newLocation
- the collateral image or flash file
locationpublic void setMarketingText(java.lang.String newMarketingText)
newMarketingText
- the collateral marketing
textpublic void setName(java.lang.String newName)
setName
in class
CollateralAccessBean
newName
- the collateral namepublic void setRequestProperties(TypedProperty requestProperties)
setRequestProperties
in interface
InputDataBean
requestProperties
-
com.ibm.commerce.datatype.TypedProperty
public void setStoreID(java.lang.Integer newStoreID)
newStoreID
- the current store IDpublic void setType(java.lang.Integer newTypeID)
setType
in class
CollateralAccessBean
newTypeID
- the collateral type IDpublic void setTypeName(java.lang.String newTypeName)
newTypeName
- the collateral type namepublic void setUrlLink(java.lang.String newUrlLink)
setUrlLink
in class
CollateralAccessBean
newUrlLink
- the collateral URL link