|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Fields inherited from interface com.ibm.commerce.beans.InputDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Constructor Summary | |
CollateralDataBean()
|
Method Summary | |
java.lang.Integer |
getCollateralID()
Returns the collateral id (primary key from the COLLATERAL table) |
CommandContext |
getCommandContext()
Returns the current command's context |
java.lang.String |
getCustomerField1()
Returns customer field 1 from the COLLATERAL table |
java.lang.String |
getCustomerField2()
Returns customer field 2 from the COLLATERAL table |
java.lang.String |
getDescriptionCustomerField1()
Returns customer field 1 from the COLLDESC table |
java.lang.String |
getDescriptionCustomerField2()
Returns customer field 2 from the COLLDESC table |
java.lang.Integer |
getLanguageId()
Returns the language id This is the language in which to return the data |
java.lang.String |
getLocation()
Returns the location This is the name of the image or flash file |
java.lang.String |
getMarketingText()
Returns the marketing text |
java.lang.String |
getName()
Returns the name of the ad copy |
TypedProperty |
getRequestProperties()
Returns the request properties |
java.lang.Integer |
getStoreID()
Returns the store id |
java.lang.Integer |
getTypeID()
Returns the type id from the COLLTYPE table |
java.lang.String |
getTypeName()
Returns the name of the type of this ad copy |
java.lang.String |
getUrlLink()
Returns the url link |
void |
populate()
Populates the data for this databean It requires that the collateral id and the language id are set |
void |
setCollateralID(java.lang.Integer newCollateralID)
Sets the id of the collateral to find |
void |
setCommandContext(CommandContext context)
Sets the command context |
void |
setCustomerField1(java.lang.String newCustomerField1)
Sets customer field 1 |
void |
setCustomerField2(java.lang.String newCustomerField2)
Sets customer field 2 |
void |
setDescriptionCustomerField1(java.lang.String newDescriptionCustomerField1)
Sets customer field 1 from the COLLDESC table |
void |
setDescriptionCustomerField2(java.lang.String newDescriptionCustomerField2)
Sets customer field 2 from the COLLDESC table |
void |
setLanguageId(java.lang.Integer newLanguageId)
Sets the language id to specify in which language to return the ad copy |
void |
setLocation(java.lang.String newLocation)
Sets the location |
void |
setMarketingText(java.lang.String newMarketingText)
Sets the marketing text |
void |
setName(java.lang.String newName)
Sets the name of the ad copy |
void |
setRequestProperties(TypedProperty requestProperties)
Sets the request properties |
void |
setStoreID(java.lang.Integer newStoreID)
Sets the store id |
void |
setType(java.lang.Integer newTypeID)
Sets the type of the ad copy |
void |
setTypeName(java.lang.String newTypeName)
Sets the type name |
void |
setUrlLink(java.lang.String newUrlLink)
Sets the url link |
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 |
Constructor Detail |
public CollateralDataBean()
Method Detail |
public java.lang.Integer getCollateralID()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
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
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
public void setCollateralID(java.lang.Integer newCollateralID)
newCollateralId
- java.lang.Integerpublic void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
aCommandContext
- com.ibm.commerce.command.CommandContextpublic void setCustomerField1(java.lang.String newCustomerField1)
setCustomerField1
in class CollateralAccessBean
newCustomerField1
- java.lang.Stringpublic void setCustomerField2(java.lang.String newCustomerField2)
setCustomerField2
in class CollateralAccessBean
newCustomerField2
- java.lang.Stringpublic void setDescriptionCustomerField1(java.lang.String newDescriptionCustomerField1)
newDescriptionCustomerField1
- java.lang.Stringpublic void setDescriptionCustomerField2(java.lang.String newDescriptionCustomerField2)
newDescriptionCustomerField2
- java.lang.Stringpublic void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- java.lang.Integerpublic void setLocation(java.lang.String newLocation)
newLocation
- java.lang.Stringpublic void setMarketingText(java.lang.String newMarketingText)
newMarketingText
- java.lang.Stringpublic void setName(java.lang.String newName)
setName
in class CollateralAccessBean
newName
- java.lang.Stringpublic void setRequestProperties(TypedProperty requestProperties)
setRequestProperties
in interface InputDataBean
aParam
- com.ibm.commerce.datatype.TypedPropertypublic void setStoreID(java.lang.Integer newStoreID)
newStoreId
- java.lang.Integerpublic void setType(java.lang.Integer newTypeID)
setType
in class CollateralAccessBean
newType
- java.lang.Integerpublic void setTypeName(java.lang.String newTypeName)
newTypeName
- java.lang.Stringpublic void setUrlLink(java.lang.String newUrlLink)
setUrlLink
in class CollateralAccessBean
newUrlLink
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |