public class CouponWalletAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CouponWalletAccessBeanData
Constructor and Description |
---|
CouponWalletAccessBean()
Deprecated.
CouponWalletAccessBean
|
CouponWalletAccessBean(javax.ejb.EJBObject o)
Deprecated.
CouponWalletAccessBean
|
CouponWalletAccessBean(java.lang.Integer newPromoId, java.lang.Long newShopperId, java.lang.String newState, java.lang.String newAcceptFromType)
Deprecated.
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in CPWALLET table.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Deprecated.
commitCopyHelper
|
java.lang.String | defaultJNDIName()
Deprecated.
defaultJNDIName
|
CouponWalletAccessBean | findByBcId(java.lang.Long paramBcId)
Deprecated.
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)
Deprecated.
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)
Deprecated.
findByCppmnIdAndShopperId
|
java.util.Enumeration | findByShopperIdState(java.lang.Long paramShopperId, java.lang.String paramState)
Deprecated.
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)
Deprecated.
fulfills
|
java.lang.String | getAcceptFromType()
Deprecated.
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
|
java.lang.Long | getBcId()
Deprecated.
This method provides access to the CPWALLET.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.String | getField1()
Deprecated.
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
|
java.lang.Integer | getNumUse()
Deprecated.
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
|
java.lang.Long | getOwner()
Deprecated.
getOwner
|
java.lang.Integer | getPromoId()
Deprecated.
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
|
java.lang.Long | getShopperId()
Deprecated.
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.String | getState()
Deprecated.
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
|
java.sql.Timestamp | getTimeAccept()
Deprecated.
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
|
protected void | instantiateEJB()
Deprecated.
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
Deprecated.
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
Deprecated.
refreshCopyHelper
|
void | setAcceptFromType(java.lang.String newAcceptFromType)
Deprecated.
This method provides access to the CPWALLET.ACCEPTFROMTYPE column of DB2 type CHAR(4) NOT NULL.
|
void | setField1(java.lang.String newField1)
Deprecated.
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
|
void | setInitKey_bcId(java.lang.Long newValue)
Deprecated.
setInitKey_bcId
|
void | setNumUse(java.lang.Integer newNumUse)
Deprecated.
This method provides access to the CPWALLET.NUMUSE column of DB2 type INTEGER NOT NULL.
|
void | setPromoId(java.lang.Integer newPromoId)
Deprecated.
This method provides access to the CPWALLET.CPPMN_ID column of DB2 type INTEGER NOT NULL.
|
void | setShopperId(java.lang.Long newShopperId)
Deprecated.
This method provides access to the CPWALLET.USERS_ID column of DB2 type BIGINT NOT NULL.
|
void | setState(java.lang.String newState)
Deprecated.
This method provides access to the CPWALLET.STATE column of DB2 type CHAR(4) NOT NULL.
|
void | setTimeAccept(java.sql.Timestamp newTimeAccept)
Deprecated.
This method provides access to the CPWALLET.TIMEACCEPT column of DB2 type TIMESTAMP NULL.
|
public CouponWalletAccessBean()
public CouponWalletAccessBean(javax.ejb.EJBObject o) throws java.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
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in CPWALLET table.
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.
public void setAcceptFromType(java.lang.String newAcceptFromType)
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.
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.
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.
public void setField1(java.lang.String newField1)
This method provides access to the CPWALLET.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
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.
public void setNumUse(java.lang.Integer newNumUse)
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.
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.
public void setPromoId(java.lang.Integer newPromoId)
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.
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.
public void setShopperId(java.lang.Long newShopperId)
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.
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.
public void setState(java.lang.String newState)
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.
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.
public void setTimeAccept(java.sql.Timestamp newTimeAccept)
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.
public void setInitKey_bcId(java.lang.Long newValue)
public java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws 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
public void commitCopyHelper() throws 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 = ?)
public 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 = ?
public java.util.Enumeration findByCppmnIdAndShopperId(java.lang.Integer paramCppmnId, java.lang.Long paramShopperId) throws javax.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 = ?
public java.lang.Long getOwner() throws 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