|
||||||||
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.order.objects.OrderItemAdjustmentAccessBean
This bean provides access to the ORDIADJUST table.
The following is a description of this table:
Each row in this table represents an OrderItemAdjustment.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderItemAdjustmentAccessBean()
Default constructor. |
|
OrderItemAdjustmentAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderItemAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId,
java.lang.Long anOrderItemId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderItemAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId,
java.lang.Long anOrderItemId,
java.math.BigDecimal afAmount)
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 |
findByOrderAdjustment(java.lang.Long anOrderAdjustmentId)
Retrieves all the order item adjustments for specified order adjustment. The SQL query used to fetch all the required rows from the ORDIADJUST table is: SELECT * FROM ORDIADJUST T1 WHERE (T1.ORDADJUST_ID = ?) |
java.util.Enumeration |
findByOrderId(java.lang.Long anOrderId)
Retrieves all the order item adjustments for specified order. The SQL query used to fetch all the required rows from the ORDIADJUST table is: SELECT * FROM ORDIADJUST T1 WHERE T1.ORDADJUST_ID IN (SELECT T2.ORDADJUST_ID FROM ORDADJUST T2 WHERE T2.ORDERS_ID=?) |
java.util.Enumeration |
findByOrderIdAndCalculationUsageId(java.lang.Long anCalculationUsageId,
java.lang.Integer anOrderId)
Retrieves all the order item adjustments for specified order and calculation usage. The SQL query used to fetch all the required rows from the ORDIADJUST table is: SELECT * FROM ORDIADJUST T1 WHERE T1.ORDADJUST_ID IN (SELECT T2.ORDADJUST_ID FROM ORDADJUST T2 WHERE T2.ORDERS_ID=? AND T2.CALUSAGE_ID=?) |
java.util.Enumeration |
findByOrderItem(java.lang.Long anOrderItemId)
Retrieves all the order item adjustments for specified order item. The SQL query used to fetch all the required rows from the ORDIADJUST table is: SELECT * FROM ORDIADJUST T1 WHERE (T1.ORDERITEMS_ID = ?) |
java.lang.String |
getAmount()
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getAmountInEJBType()
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getOrderAdjustmentId()
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderAdjustmentIdInEJBType()
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderItemAdjustmentId()
This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemAdjustmentIdInEJBType()
This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderItemId()
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemIdInEJBType()
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal aAmount)
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setAmount(java.lang.String aAmount)
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setInitKey_orderItemAdjustmentId(java.lang.String aInitKey_orderItemAdjustmentId)
Set the primary key for this object |
void |
setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT 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 OrderItemAdjustmentAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderItemAdjustmentAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic OrderItemAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Long anOrderItemId) 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
anOrderAdjustmentId
- java.lang.Long The OrderAdjustment this OrderItemAdjustment is part ofanOrderItemId
- java.lang.Long The OrderItem to which this OrderItemAdjustment appliesjavax.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 OrderItemAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Long anOrderItemId, java.math.BigDecimal afAmount) 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
anOrderAdjustmentId
- java.lang.Long The OrderAdjustment this OrderItemAdjustment is part ofanOrderItemId
- java.lang.Long The OrderItem to which this OrderItemAdjustment appliesafAmount
- java.math.BigDecimal The amount of the adjustment, in the currency of the OrderItemjavax.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 findByOrderAdjustment(java.lang.Long anOrderAdjustmentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order item adjustments for specified order adjustment.
The SQL query used to fetch all the required rows from the
ORDIADJUST table is:
SELECT * FROM ORDIADJUST T1 WHERE (T1.ORDADJUST_ID = ?)
anOrderAdjustmentId
- java.lang.Long Order adjustment identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderId(java.lang.Long anOrderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order item adjustments for specified order.
The SQL query used to fetch all the required rows from the
ORDIADJUST table is:
SELECT * FROM ORDIADJUST T1 WHERE T1.ORDADJUST_ID IN (SELECT T2.ORDADJUST_ID FROM ORDADJUST T2 WHERE T2.ORDERS_ID=?)
anOrderId
- java.lang.Long Order identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderIdAndCalculationUsageId(java.lang.Long anCalculationUsageId, java.lang.Integer anOrderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order item adjustments for specified order and calculation usage.
The SQL query used to fetch all the required rows from the
ORDIADJUST table is:
SELECT * FROM ORDIADJUST T1 WHERE T1.ORDADJUST_ID IN (SELECT T2.ORDADJUST_ID FROM ORDADJUST T2 WHERE T2.ORDERS_ID=? AND T2.CALUSAGE_ID=?)
anCalculationUsageId
- java.lang.Long Calculation usage identifieranOrderId
- java.lang.Integer Order identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderItem(java.lang.Long anOrderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order item adjustments for specified order item.
The SQL query used to fetch all the required rows from the
ORDIADJUST table is:
SELECT * FROM ORDIADJUST T1 WHERE (T1.ORDERITEMS_ID = ?)
anOrderItemId
- java.lang.Long The OrderItem to which order item adjustments applyjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.
getAmount
in interface OrderItemAdjustmentAccessBeanData
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 getAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.
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 getOrderAdjustmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment of which this OrderItemAdjustment is a part.
getOrderAdjustmentId
in interface OrderItemAdjustmentAccessBeanData
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 getOrderAdjustmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment of which this OrderItemAdjustment is a part.
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 getOrderItemAdjustmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
getOrderItemAdjustmentId
in interface OrderItemAdjustmentAccessBeanData
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 getOrderItemAdjustmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDIADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
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 getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem to which this OrderItemAdjustment applies.
getOrderItemId
in interface OrderItemAdjustmentAccessBeanData
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 getOrderItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem to which this OrderItemAdjustment applies.
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 setAmount(java.math.BigDecimal aAmount)
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.
aAmount
- java.math.BigDecimalpublic void setAmount(java.lang.String aAmount)
This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The amount of the adjustment, in the currency of the OrderItem. A negative amount represents a discount. A positive amount represents a surcharge.
setAmount
in interface OrderItemAdjustmentAccessBeanData
aAmount
- java.lang.Stringpublic void setInitKey_orderItemAdjustmentId(java.lang.String aInitKey_orderItemAdjustmentId)
Set the primary key for this object
aInitKey_orderItemAdjustmentId
- java.lang.Stringpublic void setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment of which this OrderItemAdjustment is a part.
aOrderAdjustmentId
- java.lang.Longpublic void setOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment of which this OrderItemAdjustment is a part.
setOrderAdjustmentId
in interface OrderItemAdjustmentAccessBeanData
aOrderAdjustmentId
- java.lang.Stringpublic void setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem to which this OrderItemAdjustment applies.
aOrderItemId
- java.lang.Longpublic void setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem to which this OrderItemAdjustment applies.
setOrderItemId
in interface OrderItemAdjustmentAccessBeanData
aOrderItemId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |