|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.ListPriceAccessBean
This bean provides access to the LISTPRICE table.
The following is a description of this table:
Each row of this table represents a ListPrice in a particular currency for a CatalogEntry. This table is deprecated and is provided for backward compatibility only.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ListPriceAccessBean()
Default constructor. |
|
ListPriceAccessBean(javax.ejb.EJBObject listPriceEJBObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
ListPriceAccessBean(java.lang.Long catEntryRefNum,
java.lang.String currency,
java.math.BigDecimal listPrice)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByCatalogEntry(java.lang.Long catEntryID)
Finds the list price with the catalog entry ID. |
java.lang.String |
getCurrency()
This method provides access to the LISTPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL. |
java.lang.String |
getListPrice()
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getListPriceInEJBType()
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getOid()
This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_catalogEntryReferenceNumber(java.lang.String catEntryRefNum)
Set the primary key for this object |
void |
setInitKey_currency(java.lang.String currency)
Set the primary key for this object |
void |
setListPrice(java.math.BigDecimal listPrice)
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setListPrice(java.lang.String listPrice)
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setOid(java.lang.String OID)
This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64) NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListPriceAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ListPriceAccessBean(javax.ejb.EJBObject listPriceEJBObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
listPriceEJBObject
- The list price EJB object. javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic ListPriceAccessBean(java.lang.Long catEntryRefNum, java.lang.String currency, java.math.BigDecimal listPrice) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the list price according to the catalog entry reference number, currency, and list price.
catEntryRefNum
- The catalog entry reference number. java.lang.Longcurrency
- The currency. java.lang.StringlistPrice
- The list price. java.math.BigDecimaljavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCatalogEntry(java.lang.Long catEntryID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the list price with the catalog entry ID.
SQL:
SELECT CATENTRY_ID, CURRENCY, LISTPRICE, OID
FROM LISTPRICE
WHERE catentry_id = catEntryID
catEntryID
- The catalog entry ID. java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LISTPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
The Currency of the ListPrice. This is a currency code as per ISO 4217 standards.
getCurrency
in interface ListPriceAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getListPrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the ListPrice.
getListPrice
in interface ListPriceAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.math.BigDecimal getListPriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the ListPrice.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOid() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getOid
in interface ListPriceAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_catalogEntryReferenceNumber(java.lang.String catEntryRefNum)
Set the primary key for this object
catEntryRefNum
- The entry reference number. java.lang.Stringpublic void setInitKey_currency(java.lang.String currency)
Set the primary key for this object
currency
- The currency. java.lang.Stringpublic void setListPrice(java.math.BigDecimal listPrice)
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the ListPrice.
listPrice
- The list price. java.math.BigDecimalpublic void setListPrice(java.lang.String listPrice)
This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the ListPrice.
setListPrice
in interface ListPriceAccessBeanData
listPrice
- The list price. java.lang.Stringpublic void setOid(java.lang.String OID)
This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setOid
in interface ListPriceAccessBeanData
OID
- The object identifier. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |