java.lang.Object | +--com.ibm.commerce.catalog.beansrc.InterestItemDataBeanBase | +--com.ibm.commerce.catalog.beans.InterestItemDataBean
Represents an interest item within a interest list. This bean maps to the table IITEM.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
InterestItemDataBean() InterestItemDataBean default constructor. | |
InterestItemDataBean(
InterestItemAccessBean abInterestItem) InterestItemDataBean constructor. | |
InterestItemDataBean(
InterestItemAccessBean abInterestItem,
CommandContext c) InterestItemDataBean constructor. |
Method Summary | |
---|---|
java.lang.Long[] |
getApplicableContractIds() Gets a list of applicable contracts for calculating the prices. |
PriceDataBean[] |
getApplicableContractPrices() Gets a list of applicable contract prices. |
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 InterestItem. |
java.lang.String |
getDescription() Gets the description of the InterestItem. |
CatalogEntryDescriptionAccessBean |
getDescription(java.lang.Integer iLanguageId) Gets the description of the InterestItem in the specified language. |
java.lang.String |
getManufactureName() Gets the manufacturer name of the InterestItem. |
java.lang.String |
getMemberId() Gets the primary key of the member that owns the InterestItem. |
java.lang.String |
getPartNumber() Gets the part number of the InterestItem. |
PriceDataBean |
getPrice() Gets the price of the InterestItem. |
TypedProperty |
getRequestProperties() Gets the request properties. |
void |
populate() Populates the bean with data. |
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. |
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 InterestItemDataBean()
public InterestItemDataBean(InterestItemAccessBean abInterestItem) throws java.lang.Exception
abInterestItem
- the primary key of the interest
itempublic InterestItemDataBean(InterestItemAccessBean abInterestItem, CommandContext c) throws java.lang.Exception
abInterestItem
- the primary key of the interest itemc
- the command contextMethod Detail |
---|
public java.lang.Long[] getApplicableContractIds() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
ECException
javax.ejb.FinderException
javax.ejb.CreateException
javax.naming.NamingException
java.rmi.RemoteException
public PriceDataBean[] getApplicableContractPrices() throws ECException
ECException
public java.lang.String getCatEntryID()
public CommandContext getCommandContext()
public PriceDataBean getContractPrice() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
ECException
javax.ejb.FinderException
javax.ejb.CreateException
javax.naming.NamingException
java.rmi.RemoteException
public java.lang.String getDescription() throws java.lang.Exception
java.lang.Exception
public CatalogEntryDescriptionAccessBean getDescription(java.lang.Integer iLanguageId) throws java.lang.Exception
iLanguageId
- the langauge IDjava.lang.Exception
public java.lang.String getManufactureName() throws java.lang.Exception
java.lang.Exception
public java.lang.String getPartNumber() throws java.lang.Exception
java.lang.Exception
public PriceDataBean getPrice() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
ECException
javax.ejb.FinderException
javax.ejb.CreateException
javax.naming.NamingException
java.rmi.RemoteException
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
java.lang.Exception
public void setCatEntryID(java.lang.String catEntryId)
catEntryId
- the primary key of the catalog
entrypublic void setCommandContext(CommandContext commandContext)
commandContext
- the command contextpublic void setRequestProperties(TypedProperty param)
param
- the request propertiespublic java.lang.String getMemberId() throws java.lang.Exception
java.lang.Exception