public class InterestItemDataBean
extends com.ibm.commerce.catalog.beansrc.InterestItemDataBeanBase
implements com.ibm.commerce.catalog.beans.InterestItemInputDataBean, com.ibm.commerce.catalog.beans.InterestItemSmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans:
InterestItem
Some hints and tips for using this data bean are:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString| Constructor and Description |
|---|
InterestItemDataBean()
InterestItemDataBean default constructor, calls super constructor.
|
InterestItemDataBean(InterestItemAccessBean abInterestItem)
InterestItemDataBean constructor, specifying the primary key of the interest item.
|
InterestItemDataBean(InterestItemAccessBean abInterestItem,
CommandContext c)
InterestItemDataBean constructor, specifying the primary key of the interest item and the command context.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getApplicableContractIds()
Gets a list of applicable contracts for calculating the prices.
|
PriceDataBean[] |
getApplicableContractPrices()
Gets a list of applicable contract prices.
|
CatalogEntryDataBean |
getCatalogEntryDataBean()
Gets the corresponding CatalogEntryDataBean for the interest item
|
java.lang.String |
getCatEntryID()
Gets the primary key of the catalog entry contained in the interest item.
|
CommandContext |
getCommandContext()
Gets the command context.
|
PriceDataBean |
getContractPrice()
Gets the price of the interest item.
|
java.lang.String |
getDate()
Gets the last update date of the interest item.
|
java.lang.String |
getDescription()
Gets the description of the interest item.
|
CatalogEntryDescriptionAccessBean |
getDescription(java.lang.Integer iLanguageId)
Gets the description of the interest item in the specified language.
|
java.lang.String |
getManufactureName()
Gets the manufacturer name of the interest item.
|
java.lang.String |
getMemberId()
Gets the primary key of the member that owns the interest item.
|
java.lang.String |
getPartNumber()
Gets the part number of the interest item.
|
PriceDataBean |
getPrice()
Gets the price of the interest item.
|
TypedProperty |
getRequestProperties()
Gets the request properties.
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setCatEntryID(java.lang.String catEntryId)
Sets the primary key of the catalog entry.
|
void |
setCommandContext(CommandContext commandContext)
Sets the command context.
|
void |
setRequestProperties(TypedProperty param)
Sets the request properties.
|
findAllByIListAndUser, findAllByIListNumber, findAllByUserReferenceNumber, findByCatalogEntriesAndListIds, findByListIds, findWithPushDownQuery, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEntityType, getEntity, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getInterestListNumber, getInterestListNumberInEntityType, getLastUpdate, getLastUpdateInEntityType, getQuantity, getQuantityInEntityType, getSequence, getSequenceInEntityType, getStoreEntryID, getStoreEntryIDInEntityType, getUserReferenceNumber, getUserReferenceNumberInEntityType, instantiateEntity, setField1, setField1, setField2, setField2, setField3, setInitKey_catalogEntryReferenceNumber, setInitKey_catalogEntryReferenceNumber, setInitKey_interestListNumber, setInitKey_interestListNumber, setInterestListNumber, setInterestListNumber, setLastUpdate, setLastUpdate, setQuantity, setQuantity, setSequence, setSequence, setStoreEntryID, setStoreEntryID, setUserReferenceNumber, setUserReferenceNumberpublic static final java.lang.String COPYRIGHT
public InterestItemDataBean()
public InterestItemDataBean(InterestItemAccessBean abInterestItem)
abInterestItem - the primary key of the interest itempublic InterestItemDataBean(InterestItemAccessBean abInterestItem, CommandContext c)
abInterestItem - the primary key of the interest itemc - the command contextpublic java.lang.Long[] getApplicableContractIds()
throws ECException
getApplicableContractIds in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanECExceptionpublic PriceDataBean[] getApplicableContractPrices()
getApplicableContractPrices in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanpublic java.lang.String getCatEntryID()
getCatEntryID in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanpublic CommandContext getCommandContext()
getCommandContext in interface SmartDataBeanpublic PriceDataBean getContractPrice() throws ECException
getContractPrice in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanECExceptionpublic java.lang.String getDate()
java.lang.Exceptionpublic java.lang.String getDescription()
throws java.lang.Exception
getDescription in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanjava.lang.Exceptionpublic CatalogEntryDescriptionAccessBean getDescription(java.lang.Integer iLanguageId)
getDescription in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeaniLanguageId - the language IDpublic java.lang.String getManufactureName()
getManufactureName in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanpublic java.lang.String getPartNumber()
getPartNumber in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanpublic PriceDataBean getPrice() throws ECException
getPrice in interface com.ibm.commerce.catalog.beans.InterestItemSmartDataBeanECExceptionpublic TypedProperty getRequestProperties()
getRequestProperties in interface InputDataBeanpublic void populate()
DataBeanManager.activate() runs.populate in interface SmartDataBeanjava.lang.Exceptionpublic void setCatEntryID(java.lang.String catEntryId)
setCatEntryID in interface com.ibm.commerce.catalog.beans.InterestItemInputDataBeancatEntryId - the primary key of the catalog entrypublic void setCommandContext(CommandContext commandContext)
setCommandContext in interface SmartDataBeancommandContext - the command contextpublic void setRequestProperties(TypedProperty param)
setRequestProperties in interface InputDataBeanparam - the request propertiespublic java.lang.String getMemberId()
public CatalogEntryDataBean getCatalogEntryDataBean()