|
||||||||
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.taxation.objects.OrderItemTaxAccessBean
This bean provides access to the ORDITAX table.
The following is a description of this table:
Each row of this table contains a tax amount of a particular TaxCategory, for an OrderItem. By default, WebSphere Commerce does not save any data in this table. However tax amounts are aggregated by TaxCategory in the SUBORDTAX and ORDTAX tables.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderItemTaxAccessBean()
Default constructor. |
|
OrderItemTaxAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderItemTaxAccessBean(java.lang.Long aErItemTaxAccessBean,
java.lang.Integer aErItemTaxAccessBean,
java.math.BigDecimal aErItemTaxAccessBean)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderItemTaxAccessBean(java.lang.Long aErItemTaxAccessBean,
java.lang.Integer aErItemTaxAccessBean,
java.lang.String aErItemTaxAccessBean)
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 |
findByOrderItem(java.lang.Long aDByOrderItem)
Retrieves all the tax information for the indicated orderitem. |
java.util.Enumeration |
findByOrderItemAndTaxCategory(java.lang.Long aDByOrderItemAndTaxCategory,
java.lang.String aDByOrderItemAndTaxCategory)
Retrieves all the tax information for the indicated orderitem and tax category. |
java.lang.String |
getOrderItemsId()
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemsIdInEJBType()
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTaxAmount()
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getTaxAmountInEJBType()
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getTaxCategoryId()
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTaxCategoryIdInEJBType()
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_nOrderItemsId(java.lang.String aInitKey_nOrderItemsId)
Set the primary key for this object |
void |
setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object |
void |
setOrderItemsId(java.lang.Long aOrderItemsId)
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemsId(java.lang.String aOrderItemsId)
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT 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 OrderItemTaxAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderItemTaxAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic OrderItemTaxAccessBean(java.lang.Long aErItemTaxAccessBean, java.lang.Integer aErItemTaxAccessBean, java.math.BigDecimal aErItemTaxAccessBean) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aErItemTaxAccessBean
- java.lang.LongaErItemTaxAccessBean
- java.lang.IntegeraErItemTaxAccessBean
- java.math.BigDecimaljavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic OrderItemTaxAccessBean(java.lang.Long aErItemTaxAccessBean, java.lang.Integer aErItemTaxAccessBean, java.lang.String aErItemTaxAccessBean) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aErItemTaxAccessBean
- java.lang.LongaErItemTaxAccessBean
- java.lang.IntegeraErItemTaxAccessBean
- java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException 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 findByOrderItem(java.lang.Long aDByOrderItem) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax information for the indicated orderitem.
The SQL query used to fetch all the required rows from the ORDITAX table is:
SELECT * FROM ORDITAX T1 WHERE T1.ORDERITEMS_ID = ?
orderItemId
- The ID of the orderitem.public java.util.Enumeration findByOrderItemAndTaxCategory(java.lang.Long aDByOrderItemAndTaxCategory, java.lang.String aDByOrderItemAndTaxCategory) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax information for the indicated orderitem and tax category.
The SQL query used to fetch all the required rows from the ORDITAX table is:
SELECT * FROM ORDITAX T1 WHERE (T1.ORDERITEMS_ID = ?) and (T1.TAXCGRY_ID = ?)
orderItemId
- The ID of the orderitem.taxCatetoryId
- The ID of the tax category.public java.lang.String getOrderItemsId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
getOrderItemsId
in interface OrderItemTaxAccessBeanData
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.Long getOrderItemsIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
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 getTaxAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).
getTaxAmount
in interface OrderItemTaxAccessBeanData
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 getTaxAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).
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 getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
getTaxCategoryId
in interface OrderItemTaxAccessBeanData
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.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
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_nOrderItemsId(java.lang.String aInitKey_nOrderItemsId)
Set the primary key for this object
aInitKey_nOrderItemsId
- java.lang.Stringpublic void setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object
aInitKey_nTaxCategoryId
- java.lang.Stringpublic void setOrderItemsId(java.lang.Long aOrderItemsId)
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
aOrderItemsId
- java.lang.Longpublic void setOrderItemsId(java.lang.String aOrderItemsId)
This method provides access to the ORDITAX.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
setOrderItemsId
in interface OrderItemTaxAccessBeanData
aOrderItemsId
- java.lang.Stringpublic void setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).
aTaxAmount
- java.math.BigDecimalpublic void setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the ORDITAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount, in the currency of the OrderItem (ORDERITEMS.CURRENCY).
setTaxAmount
in interface OrderItemTaxAccessBeanData
aTaxAmount
- java.lang.Stringpublic void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
aTaxCategoryId
- java.lang.Integerpublic void setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the ORDITAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
setTaxCategoryId
in interface OrderItemTaxAccessBeanData
aTaxCategoryId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |