|
||||||||
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.OrderCouponMapAccessBean
This bean provides access to the ORCPMAP table.
The following is a description of this table:
This table stores information about the eCoupons that were used with the given (completed) Order.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderCouponMapAccessBean()
Default constructor. |
|
OrderCouponMapAccessBean(javax.ejb.EJBObject newOrderCouponMapEJB)
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in ORCPMAP table. |
|
OrderCouponMapAccessBean(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 ORCPMAP table. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByOrderId(java.lang.Long orderId)
This method executes the following SQL script: SELECT T1.CPWALLET_ID, T1.ORDERS_ID FROM ORCPMAP T1 WHERE (T1.ORDERS_ID = ?) |
java.lang.Long |
getBcId()
This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderId()
This method provides access to the ORCPMAP.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 ORCPMAP.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 ORCPMAP.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 OrderCouponMapAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderCouponMapAccessBean(javax.ejb.EJBObject newOrderCouponMapEJB) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in ORCPMAP table.
newOrderCouponMapEJB
- The order coupon Map EJB.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic OrderCouponMapAccessBean(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 ORCPMAP table.
newOrderId
- The order Id in which the coupon was applied.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 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 ORCPMAP 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 java.lang.Long getBcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key. Foreign key to the CPWALLET table.
getBcId
in interface OrderCouponMapAccessBeanData
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 ORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key. Foreign key to the ORDERS table.
getOrderId
in interface OrderCouponMapAccessBeanData
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 ORCPMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key. Foreign key to the CPWALLET table.
setBcId
in interface OrderCouponMapAccessBeanData
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 ORCPMAP.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key. Foreign key to the ORDERS table.
setOrderId
in interface OrderCouponMapAccessBeanData
orderId
- the order Id.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |