java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.order.objects.OrderItemAdjustmentAccessBean
Each row in this table represents an OrderItemAdjustment.
Constructor Summary | |
---|---|
OrderItemAdjustmentAccessBean() constructor | |
OrderItemAdjustmentAccessBean(javax.ejb.EJBObject o) constructor | |
OrderItemAdjustmentAccessBean(java.lang.Long arg0,
java.lang.Long arg1) constructor | |
OrderItemAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.math.BigDecimal arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByOrderAdjustment(java.lang.Long arg0)
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 arg0)
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 arg0,
java.lang.Integer arg1)
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 arg0)
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[] arg0) |
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 provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
void |
setAmount(java.lang.String newValue) This method provides access to the ORDIADJUST.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
void |
setInitKey_orderItemAdjustmentId(java.lang.String newValue) Set the primary key for this object |
void |
setOrderAdjustmentId(java.lang.Long newValue) This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderAdjustmentId(java.lang.String newValue) This method provides access to the ORDIADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long newValue) This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.String newValue) This method provides access to the ORDIADJUST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public OrderItemAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Longjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
public OrderItemAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.math.BigDecimal arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.math.BigDecimaljavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByOrderAdjustment(java.lang.Long arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByOrderId(java.lang.Long arg0) 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=?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByOrderIdAndCalculationUsageId(java.lang.Long arg0, java.lang.Integer arg1) 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=?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByOrderItem(java.lang.Long arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_orderItemAdjustmentId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getAmount
in interface
OrderItemAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAmount(java.lang.String newValue)
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.
setAmount
in interface
OrderItemAdjustmentAccessBeanData
newValue
- Stringpublic void setAmount(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimalpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderItemId(java.lang.String newValue)
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
newValue
- Stringpublic void setOrderItemId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getOrderAdjustmentId
in interface
OrderItemAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderAdjustmentId(java.lang.String newValue)
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
newValue
- Stringpublic void setOrderAdjustmentId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic java.util.Enumeration findByOrderItemIds(java.lang.Long[] arg0) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException