|
||||||||
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.SubOrderAdjustmentAccessBean
This bean provides access to the SUBORDADJ table.
The following is a description of this table:
Each row of this table represents a subtotal of all the OrderItemAdjustment amounts in an OrderAdjustment whose OrderItems have the same shipping address.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
SubOrderAdjustmentAccessBean()
Default constructor. |
|
SubOrderAdjustmentAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
SubOrderAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId,
java.lang.Long anSubOrderId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
SubOrderAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId,
java.lang.Long anSubOrderId,
java.math.BigDecimal afTotalAdjustment)
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 |
findBySubOrder(java.lang.Long anSubOrder)
Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder. |
java.lang.String |
getOrderAdjustmentId()
This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderAdjustmentIdInEJBType()
This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getSubOrderId()
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getSubOrderIdInEJBType()
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTotalAdjustment()
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL. |
java.math.BigDecimal |
getTotalAdjustmentInEJBType()
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)
Set the primary key for this object |
void |
setInitKey_subOrderId(java.lang.String aInitKey_subOrderId)
Set the primary key for this object |
void |
setSubOrderId(java.lang.Long aSubOrderId)
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSubOrderId(java.lang.String aSubOrderId)
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL. |
void |
setTotalAdjustment(java.lang.String aTotalAdjustment)
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) 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 SubOrderAdjustmentAccessBean()
Default constructor. Maps to findByPrimaryKey.
public SubOrderAdjustmentAccessBean(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 SubOrderAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Long anSubOrderId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
anOrderAdjustmentId
- java.lang.Long The OrderAdjustmentanSubOrderId
- java.lang.Long The SubOrder, representing all OrderItems with a particular shipping addressjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic SubOrderAdjustmentAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Long anSubOrderId, java.math.BigDecimal afTotalAdjustment) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
anOrderAdjustmentId
- java.lang.Long The OrderAdjustmentanSubOrderId
- java.lang.Long The SubOrder, representing all OrderItems with a particular shipping addressafTotalAdjustment
- java.math.BigDecimal The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrderjavax.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 findBySubOrder(java.lang.Long anSubOrder) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for
OrderItems in the specified suborder.
The SQL query used to fetch all the required rows from the
SUBORDADJ table is:
SELECT * FROM SUBORDADJ T1 WHERE (T1.SUBORDER_ID = ?)
anSubOrder
- java.lang.Long The SubOrder, representing all OrderItems with a particular shipping addressjava.rmi.RemoteException
- The java.rmi.RemoteException 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 SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment.
getOrderAdjustmentId
in interface SubOrderAdjustmentAccessBeanData
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 SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment.
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 getSubOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
getSubOrderId
in interface SubOrderAdjustmentAccessBeanData
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 getSubOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
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 getTotalAdjustment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
getTotalAdjustment
in interface SubOrderAdjustmentAccessBeanData
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 getTotalAdjustmentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
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_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)
Set the primary key for this object
aInitKey_orderAdjustmentId
- java.lang.Stringpublic void setInitKey_subOrderId(java.lang.String aInitKey_subOrderId)
Set the primary key for this object
aInitKey_subOrderId
- java.lang.Stringpublic void setSubOrderId(java.lang.Long aSubOrderId)
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
aSubOrderId
- java.lang.Longpublic void setSubOrderId(java.lang.String aSubOrderId)
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
setSubOrderId
in interface SubOrderAdjustmentAccessBeanData
aSubOrderId
- java.lang.Stringpublic void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
aTotalAdjustment
- java.math.BigDecimalpublic void setTotalAdjustment(java.lang.String aTotalAdjustment)
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
setTotalAdjustment
in interface SubOrderAdjustmentAccessBeanData
aTotalAdjustment
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |