java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.couponpromotion.objects.PromoOrderAccessBean
This table contains the minimum purchase amount that must be in the shopping cart before this coupon is applicable. This access bean corresponds to the database table 'CPPMNORD'.
Constructor Summary | |
PromoOrderAccessBean() Zero argument constructor used to initialize the access bean. |
|
PromoOrderAccessBean(java.lang.Integer newPromoId, java.math.BigDecimal newOrderMin) Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in CPPMNORD table. |
|
PromoOrderAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
PromoOrderAccessBean | findByPromoId(java.lang.Integer paramPromoId) This method executes the following SQL script: SELECT T1.ORDERMAX, T1.ORDERMIN, T1.CPPMN_ID FROM CPPMNORD T1 WHERE T1.CPPMN_ID = ? |
java.math.BigDecimal | getOrderMax() This method provides access to the CPPMNORD.ORDERMAX column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getOrderMin() This method provides access to the CPPMNORD.ORDERMIN column of DB2 type DECIMAL(20 5) NOT NULL. |
java.lang.Integer | getPromoId() This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_promoId(java.lang.Integer newValue) Set the primary key for this object |
void | setOrderMax(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setOrderMin(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setPromoId(java.lang.Integer 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 PromoOrderAccessBean()
public PromoOrderAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PromoOrderAccessBean(java.lang.Integer newPromoId, java.math.BigDecimal newOrderMin) 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 to create an entry in CPPMNORD table.
Method Detail |
public PromoOrderAccessBean findByPromoId(java.lang.Integer paramPromoId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method executes the following SQL script: SELECT T1.ORDERMAX, T1.ORDERMIN, T1.CPPMN_ID FROM CPPMNORD T1 WHERE T1.CPPMN_ID = ?
public void setInitKey_promoId(java.lang.Integer 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.math.BigDecimal getOrderMin() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNORD.ORDERMIN column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Minimum purchase amount that must be in the shopping cart.
public void setOrderMin(java.math.BigDecimal newValue)
public java.math.BigDecimal getOrderMax() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNORD.ORDERMAX column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Maximum purchase amount allowed in the shopping cart.
public void setOrderMax(java.math.BigDecimal newValue)
public java.lang.Integer getPromoId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the CPPMN table.
public void setPromoId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.