public class CouponPromotionAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CouponPromotionAccessBeanData
Constructor and Description |
---|
CouponPromotionAccessBean()
Deprecated.
CouponPromotionAccessBean
|
CouponPromotionAccessBean(javax.ejb.EJBObject o)
Deprecated.
CouponPromotionAccessBean
|
CouponPromotionAccessBean(java.lang.Integer newInitiativeId, java.lang.Integer newValidityId, java.lang.String newPurchaseCondType, java.lang.Integer newNumSeenAllowed, java.lang.String newPromoDispType, java.lang.Integer newNumUseAllowed, java.lang.Integer newTotalNumOffer, java.lang.String newCurrency, java.lang.String newPromoName, java.lang.String newPromoDesc, java.sql.Timestamp newStartTime, java.sql.Timestamp newEndTime, java.lang.Integer newStoreId)
Deprecated.
This method calls ejbCreate method to create an entry in CPPMN table.
|
CouponPromotionAccessBean(java.lang.Integer newInitiativeId, java.lang.Integer newValidityId, java.lang.String newPurchaseCondType, java.lang.Integer newNumSeenAllowed, java.lang.String newPromoDispType, java.lang.Integer newNumUseAllowed, java.lang.Integer newTotalNumOffer, java.lang.String newCurrency, java.lang.String newPromoName, java.lang.String newPromoDesc, java.sql.Timestamp newStartTime, java.sql.Timestamp newEndTime, java.lang.Integer newStoreId, java.lang.String newStatus, java.lang.Integer newNumAcceptAllowed)
Deprecated.
CouponPromotionAccessBean
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Deprecated.
commitCopyHelper
|
java.lang.String | defaultJNDIName()
Deprecated.
defaultJNDIName
|
CouponPromotionAccessBean | findByCouponPromotionId(java.lang.Integer paramCouponPromotionId)
Deprecated.
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMN_ID = ?
|
CouponPromotionAccessBean | findByCouponPromotionIdForUpdate(java.lang.Integer paramCouponPromotionId)
Deprecated.
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMN_ID = ? FOR UPDATE
|
java.util.Enumeration | findByEndDateBefore(java.sql.Timestamp paramEndDate)
Deprecated.
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.ENDDATE < ?.
|
java.util.Enumeration | findByEndDateBeforeForUpdate(java.sql.Timestamp paramEndDate)
Deprecated.
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.ENDDATE < ?.
|
java.util.Enumeration | findByInitiativeId(java.lang.Integer paramInitiativeId)
Deprecated.
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.INITIATIVE_ID = ?
|
CouponPromotionAccessBean | findByPromoNameStoreId(java.lang.String paramPromoName, java.lang.Integer paramStoreId)
Deprecated.
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMNNAME = ? AND T1.STOREENT_ID = ?
|
java.util.Enumeration | findByStoreIdStatus(java.lang.Integer storeId, java.lang.String status)
Deprecated.
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.STOREENT_ID = ? AND T1.STATUS = ?
|
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
Deprecated.
fulfills
|
java.lang.Integer | getCouponPromotionId()
Deprecated.
This method provides access to the CPPMN.CPPMN_ID column of DB2 type INTEGER NOT NULL.
|
java.sql.Timestamp | getCreationTime()
Deprecated.
This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL.
|
java.lang.String | getCurrency()
Deprecated.
This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL.
|
java.lang.Integer | getEarlyBirdLimit()
Deprecated.
This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL.
|
java.sql.Timestamp | getEndDate()
Deprecated.
This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL.
|
java.lang.String | getField1()
Deprecated.
This method provides access to the CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL.
|
java.lang.Integer | getInitiativeId()
Deprecated.
This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL.
|
java.lang.Integer | getNumAcceptAllowed()
Deprecated.
Get accessor for persistent attribute: numAcceptAllowed
|
java.lang.Integer | getNumOffered()
Deprecated.
This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL.
|
java.lang.Integer | getNumSeenAllowed()
Deprecated.
This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL.
|
java.lang.Integer | getNumUseAllowed()
Deprecated.
This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL.
|
java.lang.Long | getOwner()
Deprecated.
getOwner
|
java.lang.String | getPromoDispType()
Deprecated.
This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL.
|
java.lang.String | getPromotionDescription()
Deprecated.
This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL.
|
java.lang.String | getPromotionName()
Deprecated.
This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL.
|
java.lang.String | getPurchaseCondType()
Deprecated.
This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL.
|
java.sql.Timestamp | getStartDate()
Deprecated.
This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
|
java.lang.String | getStatus()
Deprecated.
This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL.
|
java.lang.Integer | getStoreId()
Deprecated.
This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
|
java.lang.Integer | getTotalNumOffer()
Deprecated.
This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL.
|
java.lang.Integer | getValidityId()
Deprecated.
This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL.
|
protected void | instantiateEJB()
Deprecated.
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
Deprecated.
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
Deprecated.
refreshCopyHelper
|
void | setCreationTime(java.sql.Timestamp newCreationTime)
Deprecated.
This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL.
|
void | setCurrency(java.lang.String newCurrency)
Deprecated.
This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL.
|
void | setEarlyBirdLimit(java.lang.Integer newEarlyBirdLimit)
Deprecated.
This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL.
|
void | setEndDate(java.sql.Timestamp newEndDate)
Deprecated.
This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL.
|
void | setField1(java.lang.String newField1)
Deprecated.
This method provides access to the CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL.
|
void | setInitiativeId(java.lang.Integer newInitiativeId)
Deprecated.
This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL.
|
void | setInitKey_couponPromotionId(java.lang.Integer newValue)
Deprecated.
setInitKey_couponPromotionId
|
void | setNumAcceptAllowed(java.lang.Integer newNumAcceptAllowed)
Deprecated.
Set accessor for persistent attribute: numAcceptAllowed
|
void | setNumOffered(java.lang.Integer newNumOffered)
Deprecated.
This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL.
|
void | setNumSeenAllowed(java.lang.Integer newNumSeenAllowed)
Deprecated.
This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL.
|
void | setNumUseAllowed(java.lang.Integer newNumUseAllowed)
Deprecated.
This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL.
|
void | setPromoDispType(java.lang.String newPromoDispType)
Deprecated.
This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL.
|
void | setPromotionDescription(java.lang.String newPromotionDescription)
Deprecated.
This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL.
|
void | setPromotionName(java.lang.String newPromotionName)
Deprecated.
This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL.
|
void | setPurchaseCondType(java.lang.String newPurchaseCondType)
Deprecated.
This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL.
|
void | setStartDate(java.sql.Timestamp newStartDate)
Deprecated.
This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
|
void | setStatus(java.lang.String newStatus)
Deprecated.
This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL.
|
void | setStoreId(java.lang.Integer newStoreId)
Deprecated.
This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
|
void | setTotalNumOffer(java.lang.Integer newTotalNumOffer)
Deprecated.
This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL.
|
void | setValidityId(java.lang.Integer newValidityId)
Deprecated.
This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL.
|
public CouponPromotionAccessBean()
public CouponPromotionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CouponPromotionAccessBean(java.lang.Integer newInitiativeId, java.lang.Integer newValidityId, java.lang.String newPurchaseCondType, java.lang.Integer newNumSeenAllowed, java.lang.String newPromoDispType, java.lang.Integer newNumUseAllowed, java.lang.Integer newTotalNumOffer, java.lang.String newCurrency, java.lang.String newPromoName, java.lang.String newPromoDesc, java.sql.Timestamp newStartTime, java.sql.Timestamp newEndTime, java.lang.Integer newStoreId, java.lang.String newStatus, java.lang.Integer newNumAcceptAllowed) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public CouponPromotionAccessBean(java.lang.Integer newInitiativeId, java.lang.Integer newValidityId, java.lang.String newPurchaseCondType, java.lang.Integer newNumSeenAllowed, java.lang.String newPromoDispType, java.lang.Integer newNumUseAllowed, java.lang.Integer newTotalNumOffer, java.lang.String newCurrency, java.lang.String newPromoName, java.lang.String newPromoDesc, java.sql.Timestamp newStartTime, java.sql.Timestamp newEndTime, java.lang.Integer newStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
This method calls ejbCreate method to create an entry in CPPMN table.
public java.lang.Integer getCouponPromotionId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Coupon Promotion ID (primary key).
public java.sql.Timestamp getCreationTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time when this entry was made.
public void setCreationTime(java.sql.Timestamp newCreationTime)
This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time when this entry was made.
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
The default currency for this promotion. This is a currency code as per ISO 4217 standards.
public void setCurrency(java.lang.String newCurrency)
This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
The default newCurrency for this promotion. This is a newCurrency code as per ISO 4217 standards.
public java.lang.Integer getEarlyBirdLimit() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL.
The following is a description of this column:
Limit for early-bird coupons. If this attribute is NULL, it indicates that the promotion is not of early-bird type.
public void setEarlyBirdLimit(java.lang.Integer newEarlyBirdLimit)
This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL.
The following is a description of this column:
Limit for early-bird coupons. If this attribute is NULL, it indicates that the promotion is not of early-bird type.
public java.sql.Timestamp getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The date after which this coupon promotion will not be effective.
public void setEndDate(java.sql.Timestamp newEndDate)
This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The date after which this coupon promotion will not be effective.
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.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 CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
public java.lang.Integer getInitiativeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Foreign Key to the initiative table, to which this promotion belong to.
public void setInitiativeId(java.lang.Integer newInitiativeId)
This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Foreign Key to the initiative table, to which this promotion belong to.
public java.lang.Integer getNumAcceptAllowed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setNumAcceptAllowed(java.lang.Integer newNumAcceptAllowed)
public java.lang.Integer getNumOffered() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of coupons already offered from this promotion.
public void setNumOffered(java.lang.Integer newNumOffered)
This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of coupons already offered from this promotion.
public java.lang.Integer getNumSeenAllowed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This field denotes the number of times this promotion should be offered to the user. Valid for only banner ads not for OfferLists.
public void setNumSeenAllowed(java.lang.Integer newNumSeenAllowed)
This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This field denotes the number of times this promotion should be offered to the user. Valid for only banner ads not for OfferLists.
public java.lang.Integer getNumUseAllowed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon can be redeemed.
public void setNumUseAllowed(java.lang.Integer newNumUseAllowed)
This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of times this coupon can be redeemed.
public java.lang.String getPromoDispType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
How is the promotion communicated with the media. That is, where is it shown. Possible values: B=Banner Ad, E=Email, and O=OfferList.
public void setPromoDispType(java.lang.String newPromoDispType)
This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
How is the promotion communicated with the media. That is, where is it shown. Possible values: B=Banner Ad, E=Email, and O=OfferList.
public java.lang.String getPromotionDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL.
The following is a description of this column:
Description of the coupon promotion (for merchant viewing).
public void setPromotionDescription(java.lang.String newPromotionDescription)
This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL.
The following is a description of this column:
Description of the coupon promotion (for merchant viewing).
public java.lang.String getPromotionName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL.
The following is a description of this column:
Name of the coupon promotion.
public void setPromotionName(java.lang.String newPromotionName)
This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL.
The following is a description of this column:
Name of the coupon promotion.
public java.lang.String getPurchaseCondType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
This field specifies the promotion purchase condition type. Possible values: P=Product and O=Order.
public void setPurchaseCondType(java.lang.String newPurchaseCondType)
This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
This field specifies the promotion purchase condition type. Possible values: P=Product and O=Order.
public java.sql.Timestamp getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The date before which this coupon promotion will not be effective.
public void setStartDate(java.sql.Timestamp newStartDate)
This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The date before which this coupon promotion will not be effective.
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
Indicates the status of the coupon promotion. Valid values: A=active, D=deleted, or E=expired.
public void setStatus(java.lang.String newStatus)
This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
Indicates the status of the coupon promotion. Valid values: A=active, D=deleted, or E=expired.
public java.lang.Integer getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID of the store that owns this coupon promotion.
public void setStoreId(java.lang.Integer newStoreId)
This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID of the store that owns this coupon promotion.
public java.lang.Integer getTotalNumOffer() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of coupons to be offered for this promotion. This indicates the accepted number of coupons by the customers.
public void setTotalNumOffer(java.lang.Integer newTotalNumOffer)
This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of coupons to be offered for this promotion. This indicates the accepted number of coupons by the customers.
public java.lang.Integer getValidityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Foreign key to CPPMNVAL table.
public void setValidityId(java.lang.Integer newValidityId)
This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Foreign key to CPPMNVAL table.
public void setInitKey_couponPromotionId(java.lang.Integer 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 findByInitiativeId(java.lang.Integer paramInitiativeId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.INITIATIVE_ID = ?
public CouponPromotionAccessBean findByPromoNameStoreId(java.lang.String paramPromoName, java.lang.Integer paramStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMNNAME = ? AND T1.STOREENT_ID = ?
public java.util.Enumeration findByEndDateBefore(java.sql.Timestamp paramEndDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.ENDDATE < ?.
public java.util.Enumeration findByStoreIdStatus(java.lang.Integer storeId, java.lang.String status) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.STOREENT_ID = ? AND T1.STATUS = ?
public CouponPromotionAccessBean findByCouponPromotionId(java.lang.Integer paramCouponPromotionId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMN_ID = ?
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.lang.Long getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.util.Enumeration findByEndDateBeforeForUpdate(java.sql.Timestamp paramEndDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.ENDDATE < ?. FOR UPDATE
public CouponPromotionAccessBean findByCouponPromotionIdForUpdate(java.lang.Integer paramCouponPromotionId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method executes the following SQL Script: SELECT T1.CPPMN_ID, T1.CREATIONTIME, T1.SETCCURR, T1.EARLYBIRDLIMIT, T1.ENDDATE, T1.FIELD1, T1.INITIATIVE_ID, T1.NUMOFFERED, T1.NUMSEENALLOWED, T1.NUMUSEALLOWED, T1.PROMODISPTYPE, T1.CPPMNDESC, T1.CPPMNNAME, T1.PURCHASECONDTYPE, T1.STARTDATE, T1.STATUS, T1.STOREENT_ID, T1.TOTALNUMOFFER, T1.CPPMNVAL_ID FROM CPPMN T1 WHERE T1.CPPMN_ID = ? FOR UPDATE