java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OrderItemAdjustmentAccessBean
Each row in this table represents an OrderItemAdjustment. This access bean corresponds to the database table 'ORDIADJUST'.
Constructor Summary | |
OrderItemAdjustmentAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderItemAdjustmentAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderItemAdjustmentAccessBean(java.lang.Long arg1, java.lang.Long arg2) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderItemAdjustmentAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.math.BigDecimal arg3) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOrderAdjustment(java.lang.Long orderAdjustment)
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 | findByOrderAdjustmentForUpdate(java.lang.Long adjustmentId)
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 = ?) FOR UPDATE |
java.util.Enumeration | findByOrderId(java.lang.Long orderId)
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 orderId, java.lang.Integer calculationUsageId)
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 orderItem)
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.util.Enumeration | findByOrderItemIds(java.lang.Long[] orderItemIds) |
java.lang.String | getAmount() This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
java.math.BigDecimal | getAmountInEJBType() This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
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. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAmount(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setAmount(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orderItemAdjustmentId(java.lang.String newValue) Set the primary key for this object |
void | setOrderAdjustmentId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderAdjustmentId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrderItemAdjustmentAccessBean()
public OrderItemAdjustmentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderItemAdjustmentAccessBean(java.lang.Long arg1, java.lang.Long arg2) 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
public OrderItemAdjustmentAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.math.BigDecimal arg3) 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
Method Detail |
public java.util.Enumeration findByOrderAdjustment(java.lang.Long orderAdjustment) 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 = ?)
public java.util.Enumeration findByOrderId(java.lang.Long orderId) 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=?)
public java.util.Enumeration findByOrderIdAndCalculationUsageId(java.lang.Long orderId, java.lang.Integer calculationUsageId) 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=?)
public java.util.Enumeration findByOrderItem(java.lang.Long orderItem) 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 = ?)
public void setInitKey_orderItemAdjustmentId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public 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 DEFAULT 0.
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.
public 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 DEFAULT 0.
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.
public void setAmount(java.lang.String newValue)
public void setAmount(java.math.BigDecimal newValue)
public 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.
public 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.
public void setOrderItemId(java.lang.String newValue)
public void setOrderItemId(java.lang.Long newValue)
public 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.
public 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.
public 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.
public 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.
public void setOrderAdjustmentId(java.lang.String newValue)
public void setOrderAdjustmentId(java.lang.Long newValue)
public java.util.Enumeration findByOrderItemIds(java.lang.Long[] orderItemIds) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findByOrderAdjustmentForUpdate(java.lang.Long adjustmentId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
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 = ?) FOR UPDATE
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.