|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.couponredemption.objects.TempOrderCouponMapAccessBean
This bean provides access to the TORCPMAP table.
The following is a description of this table:
This table stores information about the coupons that are applicable on the current shopping basket while the decision support system is running.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TempOrderCouponMapAccessBean()
Default constructor. |
|
TempOrderCouponMapAccessBean(javax.ejb.EJBObject newTempOrderCouponMapEJB)
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in TORCPMAP table. |
|
TempOrderCouponMapAccessBean(java.lang.Long newOrderId,
java.lang.Long newCPWalletId)
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in TORCPMAP table. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
TempOrderCouponMapAccessBean |
findByBcId(java.lang.Long aDByBcId)
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 orderId)
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 orderId,
java.lang.Long couponWalletId)
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setBcId(java.lang.Long couponId)
This method provides access to the TORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_bcId(java.lang.Long couponId)
Set the primary key for this object |
void |
setInitKey_orderId(java.lang.Long orderId)
Set the primary key for this object |
void |
setOrderId(java.lang.Long orderId)
This method provides access to the TORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TempOrderCouponMapAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TempOrderCouponMapAccessBean(javax.ejb.EJBObject newTempOrderCouponMapEJB) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in TORCPMAP table.
newTempOrderCouponMapEJB
- The temporary order coupon map EJB.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TempOrderCouponMapAccessBean(java.lang.Long newOrderId, java.lang.Long newCPWalletId) 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 TORCPMAP table.
newOrderId
- The order Id.newCPWalletId
- The coupon Id.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TempOrderCouponMapAccessBean findByBcId(java.lang.Long aDByBcId) 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 = ?)
couponId
- The coupon Id.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderId(java.lang.Long orderId) 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 = ?)
orderId
- The order Id.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TempOrderCouponMapAccessBean findByOrderIdBcId(java.lang.Long orderId, java.lang.Long couponWalletId) 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 = ?)
orderId
- The order Id.couponWalletId
- The coupon wallet Id.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setBcId(java.lang.Long couponId)
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
couponId
- The coupon Id.public void setInitKey_bcId(java.lang.Long couponId)
Set the primary key for this object
couponId
- The coupon Id.public void setInitKey_orderId(java.lang.Long orderId)
Set the primary key for this object
orderId
- The order Id.public void setOrderId(java.lang.Long orderId)
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
orderId
- The order Id.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |