java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.couponredemption.objects.TempOrderCouponMapAccessBean
This table stores information about the coupons that are applicable on the current shopping cart while the decision support system is running.
Constructor Summary | |
---|---|
TempOrderCouponMapAccessBean() constructor | |
TempOrderCouponMapAccessBean(javax.ejb.EJBObject o) constructor | |
TempOrderCouponMapAccessBean(java.lang.Long arg0,
java.lang.Long arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
TempOrderCouponMapAccessBean |
findByBcId(java.lang.Long arg0) This method executes the following SQL Script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.CPWALLET_ID = ?) |
java.util.Enumeration |
findByOrderId(java.lang.Long arg0) This method executes the following SQL script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.ORDERS_ID = ?) |
TempOrderCouponMapAccessBean |
findByOrderIdBcId(java.lang.Long arg0,
java.lang.Long arg1) This method executes the following SQL script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.ORDERS_ID = ?) AND (T1.CPWALLET_ID = ?) |
java.lang.Long |
getBcId() This method provides access to the TORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderId() This method provides access to the TORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setBcId(java.lang.Long newValue) This method provides access to the TORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_bcId(java.lang.Long newValue) Set the primary key for this object |
void |
setInitKey_orderId(java.lang.Long newValue) Set the primary key for this object |
void |
setOrderId(java.lang.Long newValue) This method provides access to the TORCPMAP.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 TempOrderCouponMapAccessBean()
public TempOrderCouponMapAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public TempOrderCouponMapAccessBean(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
Method Detail |
---|
public TempOrderCouponMapAccessBean findByBcId(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method executes the following SQL Script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.CPWALLET_ID = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public TempOrderCouponMapAccessBean findByOrderIdBcId(java.lang.Long arg0, java.lang.Long arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method executes the following SQL script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.ORDERS_ID = ?) AND (T1.CPWALLET_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
This method executes the following SQL script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM TORCPMAP T1 WHERE (T1.ORDERS_ID = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_bcId(java.lang.Long newValue)
Set the primary key for this object
newValue
- java.lang.Longpublic void setInitKey_orderId(java.lang.Long newValue)
Set the primary key for this object
newValue
- java.lang.Longprotected 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.Long getBcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key. Coupon ID. Foreign key to CPWALLET table.
getBcId
in interface
TempOrderCouponMapAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setBcId(java.lang.Long newValue)
This method provides access to the TORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key. Coupon ID. Foreign key to CPWALLET table.
setBcId
in interface
TempOrderCouponMapAccessBeanData
newValue
- java.lang.Longpublic java.lang.Long getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key. Foreign key to ORDERS table.
getOrderId
in interface
TempOrderCouponMapAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderId(java.lang.Long newValue)
This method provides access to the TORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key. Foreign key to ORDERS table.
setOrderId
in interface
TempOrderCouponMapAccessBeanData
newValue
- java.lang.Long