java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.order.objects.OrderAdjustmentAccessBean
Each row of this table represents an OrderAdjustment.
Constructor Summary | |
---|---|
OrderAdjustmentAccessBean() constructor | |
OrderAdjustmentAccessBean(javax.ejb.EJBObject o) constructor | |
OrderAdjustmentAccessBean(java.lang.Long arg0,
java.math.BigDecimal arg1, java.lang.Integer arg2, java.lang.Integer arg3,
java.lang.Integer arg4) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByOrder(java.lang.Long arg0)
Retrieves all the order adjustments for specified order id.
The SQL query used to fetch all the required rows from the
ORDADJUST table
is:SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ? |
java.util.Enumeration |
findByOrderAndUsage(java.lang.Long arg0,
java.lang.Integer arg1)
Retrieves all the order adjustments for specified order id and
calculation usage.
The SQL query used to fetch all the required rows from the
ORDADJUST table
is:SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ? and T1.CALUSAGE_ID = ? |
java.lang.String |
getAmount() This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal |
getAmountInEJBType() This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String |
getCalculationCodeId() This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER. |
java.lang.Integer |
getCalculationCodeIdInEJBType() This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER. |
java.lang.String |
getCalculationUsageId() This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER. |
java.lang.Integer |
getCalculationUsageIdInEJBType() This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER. |
OrderAdjustmentDescriptionAccessBean |
getDescription(java.lang.Integer arg0,
java.lang.Integer arg1) Returns an OrderAdjustmentDescriptionAccessBean object associated with languageId. |
java.lang.String |
getDisplayLevel() This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getDisplayLevelInEJBType() This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String |
getOrderAdjustmentId() This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderAdjustmentIdInEJBType() This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderId() This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderIdInEJBType() This method provides access to the ORDADJUST.ORDERS_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 ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
void |
setAmount(java.lang.String newValue) This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
void |
setCalculationCodeId(java.lang.Integer newValue) This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER. |
void |
setCalculationCodeId(java.lang.String newValue) This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER. |
void |
setCalculationUsageId(java.lang.Integer newValue) This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER. |
void |
setCalculationUsageId(java.lang.String newValue) This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER. |
void |
setDisplayLevel(java.lang.Integer newValue) This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setDisplayLevel(java.lang.String newValue) This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setInitKey_orderAdjustmentId(java.lang.String newValue) Set the primary key for this object |
void |
setOrderId(java.lang.Long newValue) This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String newValue) This method provides access to the ORDADJUST.ORDERS_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 OrderAdjustmentAccessBean()
public OrderAdjustmentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public OrderAdjustmentAccessBean(java.lang.Long arg0, java.math.BigDecimal arg1, java.lang.Integer arg2, java.lang.Integer arg3, java.lang.Integer arg4) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.math.BigDecimalarg2
- java.lang.Integerarg3
- java.lang.Integerarg4
- java.lang.Integerjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByOrder(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order adjustments for specified order id.
The SQL query used to fetch all the required rows from the
ORDADJUST table
is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByOrderAndUsage(java.lang.Long arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order adjustments for specified order id and calculation
usage.
The SQL query used to fetch all the required rows from the
ORDADJUST table
is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ? and T1.CALUSAGE_ID = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_orderAdjustmentId(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 getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.
getCalculationCodeId
in interface
OrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCalculationCodeId(java.lang.String newValue)
This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.
setCalculationCodeId
in interface
OrderAdjustmentAccessBeanData
newValue
- Stringpublic void setCalculationCodeId(java.lang.Integer newValue)
This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.
newValue
- java.lang.Integerpublic java.lang.String getAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.
getAmount
in interface
OrderAdjustmentAccessBeanData
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 ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.
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 ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.
setAmount
in interface
OrderAdjustmentAccessBeanData
newValue
- Stringpublic void setAmount(java.math.BigDecimal newValue)
This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.
newValue
- java.math.BigDecimalpublic java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order the OrderAdjustment is part of.
getOrderId
in interface
OrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order the OrderAdjustment is part of.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderId(java.lang.String newValue)
This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order the OrderAdjustment is part of.
setOrderId
in interface
OrderAdjustmentAccessBeanData
newValue
- Stringpublic void setOrderId(java.lang.Long newValue)
This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order the OrderAdjustment is part of.
newValue
- java.lang.Longpublic java.lang.String getDisplayLevel() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The values for this OrderAdjustment should be displayed with each:&l
getDisplayLevel
in interface
OrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getDisplayLevelInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The values for this OrderAdjustment should be displayed with each:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDisplayLevel(java.lang.String newValue)
This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The values for this OrderAdjustment should be displayed with each:&l
setDisplayLevel
in interface
OrderAdjustmentAccessBeanData
newValue
- Stringpublic void setDisplayLevel(java.lang.Integer newValue)
This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The values for this OrderAdjustment should be displayed with each:&l
newValue
- java.lang.Integerpublic java.lang.String getCalculationUsageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.
getCalculationUsageId
in interface
OrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getCalculationUsageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCalculationUsageId(java.lang.String newValue)
This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.
setCalculationUsageId
in interface
OrderAdjustmentAccessBeanData
newValue
- Stringpublic void setCalculationUsageId(java.lang.Integer newValue)
This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.
newValue
- java.lang.Integerpublic java.lang.String getOrderAdjustmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
getOrderAdjustmentId
in interface
OrderAdjustmentAccessBeanData
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 ORDADJUST.ORDADJUST_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 OrderAdjustmentDescriptionAccessBean getDescription(java.lang.Integer arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Returns an OrderAdjustmentDescriptionAccessBean object associated with languageId. If there is no description for the specified language, the alternative languages for languageId and storeId will be used to get an appropriate description using the language dance mechanism.
arg1
- java.lang.Integerjavax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exception