java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OrderAdjustmentAccessBean
Each row of this table represents an OrderAdjustment. This access bean corresponds to the database table 'ORDADJUST'.
Constructor Summary | |
OrderAdjustmentAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderAdjustmentAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderAdjustmentAccessBean(java.lang.Long newOrderId, java.math.BigDecimal newAmount, java.lang.Integer newCalculationCodeId, java.lang.Integer newCalculationUsageId, java.lang.Integer newDisplayLevel) 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 | findByOrder(java.lang.Long orderId)
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 orderId, java.lang.Integer calculationUsageId)
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.util.Enumeration | findByOrderAndUsageForUpdate(java.lang.Long order, java.lang.Integer usage)
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 = ? FOR UPDATE |
java.util.Enumeration | findByOrderForUpdate(java.lang.Long order)
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 = ? FOR UPDATE |
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 arg1, java.lang.Integer arg2) 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 accesses a non-CMP field |
void | setAmount(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationCodeId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationUsageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationUsageId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDisplayLevel(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setDisplayLevel(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orderAdjustmentId(java.lang.String newValue) Set the primary key for this object |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(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 OrderAdjustmentAccessBean()
public OrderAdjustmentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderAdjustmentAccessBean(java.lang.Long newOrderId, java.math.BigDecimal newAmount, java.lang.Integer newCalculationCodeId, java.lang.Integer newCalculationUsageId, java.lang.Integer newDisplayLevel) 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 findByOrder(java.lang.Long orderId) 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 = ?
public java.util.Enumeration findByOrderAndUsage(java.lang.Long orderId, java.lang.Integer calculationUsageId) 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 = ?
public void setInitKey_orderAdjustmentId(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 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.
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.
public void setCalculationCodeId(java.lang.String newValue)
public void setCalculationCodeId(java.lang.Integer newValue)
public 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.
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.
public void setAmount(java.lang.String newValue)
public void setAmount(java.math.BigDecimal newValue)
public 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.
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.
public void setOrderId(java.lang.String newValue)
public void setOrderId(java.lang.Long newValue)
public 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
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
public void setDisplayLevel(java.lang.String newValue)
public void setDisplayLevel(java.lang.Integer newValue)
public 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.
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.
public void setCalculationUsageId(java.lang.String newValue)
public void setCalculationUsageId(java.lang.Integer newValue)
public 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.
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.
public OrderAdjustmentDescriptionAccessBean getDescription(java.lang.Integer arg1, java.lang.Integer arg2) 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.
public java.util.Enumeration findByOrderForUpdate(java.lang.Long order) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
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 = ? FOR UPDATE
public java.util.Enumeration findByOrderAndUsageForUpdate(java.lang.Long order, java.lang.Integer usage) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
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 = ? FOR UPDATE
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.