java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.couponpromotion.objects.PromoOrderAccessBean
This table contains the minimum purchase amount in the shopping cart for this coupon to be applicable to.
Constructor Summary | |
---|---|
PromoOrderAccessBean() constructor | |
PromoOrderAccessBean(java.lang.Integer arg0,
java.math.BigDecimal arg1) constructor | |
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 arg0) 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 provides access to the CPPMNORD.ORDERMAX column of DB2 type DECIMAL(20 5). |
void |
setOrderMin(java.math.BigDecimal newValue) This method provides access to the CPPMNORD.ORDERMIN column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setPromoId(java.lang.Integer newValue) This method provides access to the CPPMNORD.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PromoOrderAccessBean(java.lang.Integer arg0, java.math.BigDecimal arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Integerarg1
- java.math.BigDecimaljavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public PromoOrderAccessBean findByPromoId(java.lang.Integer arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_promoId(java.lang.Integer newValue)
Set the primary key for this object
newValue
- java.lang.Integerprotected 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.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 in the shopping cart.
getOrderMin
in interface
PromoOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderMin(java.math.BigDecimal newValue)
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 in the shopping cart.
setOrderMin
in interface
PromoOrderAccessBeanData
newValue
- java.math.BigDecimalpublic 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 in the shopping cart.
getOrderMax
in interface
PromoOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderMax(java.math.BigDecimal newValue)
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 in the shopping cart.
setOrderMax
in interface
PromoOrderAccessBeanData
newValue
- java.math.BigDecimalpublic 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.
getPromoId
in interface
PromoOrderAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromoId(java.lang.Integer newValue)
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.
setPromoId
in interface
PromoOrderAccessBeanData
newValue
- java.lang.Integer