java.lang.Object | +--AbstractEntityAccessBean | +--com.ibm.commerce.couponwallet.objects.CouponWalletAccessBean
This table contains the coupons that the user has accepted. CouponWalletAccessBean
Constructor Summary | |
---|---|
CouponWalletAccessBean() constructor | |
CouponWalletAccessBean(java.lang.Integer newPromoId,
java.lang.Long newShopperId, java.lang.String newState,
java.lang.String newAcceptFromType) CouponWalletAccessBean constructor | |
CouponWalletAccessBean(javax.ejb.EJBObject o) CouponWalletAccessBean constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() commitCopyHelper |
java.lang.String |
defaultJNDIName() defaultJNDIName |
CouponWalletAccessBean |
findByBcId(java.lang.Long paramBcId) This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE T1.CPWALLET_ID = ? |
java.util.Enumeration |
findByCppmnId(java.lang.Integer paramCppmnId) This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE T1.CPPMN_ID = ? |
java.util.Enumeration |
findByCppmnIdAndShopperId(java.lang.Integer paramCppmnId,
java.lang.Long paramShopperId) findByCppmnIdAndShopperId |
java.util.Enumeration |
findByShopperIdState(java.lang.Long paramShopperId,
java.lang.String paramState) This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE (T1.USERS_ID = ?) AND (T1.STATE = ?) |
boolean |
fulfills(java.lang.Long arg0, java.lang.String arg1) fulfills |
java.lang.String |
getAcceptFromType() This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL. |
java.lang.Long |
getBcId() This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getField1() This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL. |
java.lang.Integer |
getNumUse() This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getOwner() This method accesses a non-CMP field |
java.lang.Integer |
getPromoId() This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getShopperId() This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getState() This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL. |
java.sql.Timestamp |
getTimeAccept() This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL. |
protected
void |
instantiateEJB() instantiateEJB |
protected
boolean |
instantiateEJBByPrimaryKey() instantiateEJBByPrimaryKey |
void |
refreshCopyHelper() refreshCopyHelper |
void |
setAcceptFromType(java.lang.String newValue) This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL. |
void |
setField1(java.lang.String newValue) This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL. |
void |
setInitKey_bcId(java.lang.Long newValue) setInitKey_bcId |
void |
setNumUse(java.lang.Integer newValue) This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL. |
void |
setPromoId(java.lang.Integer newValue) This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
void |
setShopperId(java.lang.Long newValue) This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setState(java.lang.String newValue) This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL. |
void |
setTimeAccept(java.sql.Timestamp newValue) This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public CouponWalletAccessBean()
public CouponWalletAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public CouponWalletAccessBean(java.lang.Integer newPromoId, java.lang.Long newShopperId, java.lang.String newState, java.lang.String newAcceptFromType) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
newPromoId
- java.lang.IntegernewShopperId
- java.lang.LongnewState
- java.lang.StringnewAcceptFromType
- java.lang.Stringjavax.naming.NamingException
javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail |
---|
public java.lang.String getAcceptFromType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Indicates from where the coupon was accepted: B = banner advertisement. E = e-mail. O = offerlist.
getAcceptFromType
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAcceptFromType(java.lang.String newValue)
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Indicates from where the coupon was accepted: B = banner advertisement. E = e-mail. O = offerlist.
setAcceptFromType
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.lang.Long getBcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary Key.
getBcId
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
getField1
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setField1(java.lang.String newValue)
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
setField1
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.lang.Integer getNumUse() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon has been used.
getNumUse
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setNumUse(java.lang.Integer newValue)
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon has been used.
setNumUse
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.lang.Integer getPromoId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Promotion ID. Foreign key to CPPMN table.
getPromoId
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromoId(java.lang.Integer newValue)
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Promotion ID. Foreign key to CPPMN table.
setPromoId
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.lang.Long getShopperId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Customer ID. Foreign key to USERS table.
getShopperId
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setShopperId(java.lang.Long newValue)
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Customer ID. Foreign key to USERS table.
setShopperId
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
State of the coupon, where U=Usable, D=Deleted, N=Not Usable, and E=Expired.
getState
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setState(java.lang.String newValue)
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
State of the coupon, where U=Usable, D=Deleted, N=Not Usable, and E=Expired.
setState
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public java.sql.Timestamp getTimeAccept() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time when the table entry was made.
getTimeAccept
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeAccept(java.sql.Timestamp newValue)
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time when the table entry was made.
setTimeAccept
in interface
CouponWalletAccessBeanData
java.rmi.RemoteException
public void setInitKey_bcId(java.lang.Long newValue)
Set the primary key for this object
newValue
- java.lang.Longpublic java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
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 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 java.util.Enumeration findByShopperIdState(java.lang.Long paramShopperId, java.lang.String paramState) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE (T1.USERS_ID = ?) AND (T1.STATE = ?)
paramShopperId
- The user Id.paramState
- The state of the coupon.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 findByCppmnId(java.lang.Integer paramCppmnId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE T1.CPPMN_ID = ?
paramCppmnId
- The coupon promotion 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 findByCppmnIdAndShopperId(java.lang.Integer paramCppmnId, java.lang.Long paramShopperId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
paramCppmnId
- java.lang.IntegerparamShopperId
- java.lang.Longjavax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException
public CouponWalletAccessBean findByBcId(java.lang.Long paramBcId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.TIMEACCEPT, T1.USERS_ID, T1.STATE, T1.CPPMN_ID, T1.NUMUSE, T1.ACCEPTFROMTYPE, T1.CPWALLET_ID, T1.FIELD1 FROM CPWALLET T1 WHERE T1.CPWALLET_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 getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException