java.lang.Object | +--AbstractEntityAccessBean | +--com.ibm.commerce.couponpromotion.objects.CouponPromotionAccessBean
This table gives the details of what a promotion is, and reference to its purchase, validity, and discount conditions. CouponPromotionAccessBean
Constructor Summary | |
---|---|
CouponPromotionAccessBean() constructor | |
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) 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,
java.lang.String newStatus, java.lang.Integer newNumAcceptAllowed) CouponPromotionAccessBean | |
CouponPromotionAccessBean(javax.ejb.EJBObject o) CouponPromotionAccessBean |
Method Summary | |
---|---|
void |
commitCopyHelper() commitCopyHelper |
java.lang.String |
defaultJNDIName() defaultJNDIName |
CouponPromotionAccessBean |
findByCouponPromotionId(java.lang.Integer paramCouponPromotionId) 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) 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) 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) 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) 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) 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) 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) fulfills |
java.lang.Integer |
getCouponPromotionId() This method provides access to the CPPMN.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
java.sql.Timestamp |
getCreationTime() This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getCurrency() This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL. |
java.lang.Integer |
getEarlyBirdLimit() This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL. |
java.sql.Timestamp |
getEndDate() This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getField1() This method provides access to the CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL. |
java.lang.Integer |
getInitiativeId() This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getNumAcceptAllowed() Get accessor for persistent attribute: numAcceptAllowed |
java.lang.Integer |
getNumOffered() This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getNumSeenAllowed() This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getNumUseAllowed() This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL. |
java.lang.Long |
getOwner() getOwner |
java.lang.String |
getPromoDispType() This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL. |
java.lang.String |
getPromotionDescription() This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL. |
java.lang.String |
getPromotionName() This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL. |
java.lang.String |
getPurchaseCondType() This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL. |
java.sql.Timestamp |
getStartDate() This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String |
getStatus() This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL. |
java.lang.Integer |
getStoreId() This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTotalNumOffer() This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getValidityId() This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL. |
protected
void |
instantiateEJB() instantiateEJB |
protected
boolean |
instantiateEJBByPrimaryKey() instantiateEJBByPrimaryKey |
void |
refreshCopyHelper() refreshCopyHelper |
void |
setCreationTime(java.sql.Timestamp newValue) This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL. |
void |
setCurrency(java.lang.String newValue) This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setEarlyBirdLimit(java.lang.Integer newValue) This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL. |
void |
setEndDate(java.sql.Timestamp newValue) This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL. |
void |
setField1(java.lang.String newValue) This method provides access to the CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL. |
void |
setInitiativeId(java.lang.Integer newValue) This method provides access to the CPPMN.INITIATIVE_ID column of DB2 type INTEGER NULL. |
void |
setInitKey_couponPromotionId(java.lang.Integer newValue) setInitKey_couponPromotionId |
void |
setNumAcceptAllowed(java.lang.Integer newValue) Set accessor for persistent attribute: numAcceptAllowed |
void |
setNumOffered(java.lang.Integer newValue) This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL. |
void |
setNumSeenAllowed(java.lang.Integer newValue) This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL. |
void |
setNumUseAllowed(java.lang.Integer newValue) This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL. |
void |
setPromoDispType(java.lang.String newValue) This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL. |
void |
setPromotionDescription(java.lang.String newValue) This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL. |
void |
setPromotionName(java.lang.String newValue) This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL. |
void |
setPurchaseCondType(java.lang.String newValue) This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL. |
void |
setStartDate(java.sql.Timestamp newValue) This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setStatus(java.lang.String newValue) This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL. |
void |
setStoreId(java.lang.Integer newValue) This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setTotalNumOffer(java.lang.Integer newValue) This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL. |
void |
setValidityId(java.lang.Integer newValue) This method provides access to the CPPMN.CPPMNVAL_ID column of DB2 type INTEGER NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
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
Method Detail |
---|
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).
getCouponPromotionId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getCreationTime
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCreationTime(java.sql.Timestamp newValue)
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.
setCreationTime
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getCurrency
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
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.
setCurrency
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getEarlyBirdLimit
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setEarlyBirdLimit(java.lang.Integer newValue)
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.
setEarlyBirdLimit
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getEndDate
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setEndDate(java.sql.Timestamp newValue)
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.
setEndDate
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getField1
in interface
CouponPromotionAccessBeanData
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 CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Customizable.
setField1
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getInitiativeId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInitiativeId(java.lang.Integer newValue)
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.
setInitiativeId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
public java.lang.Integer getNumAcceptAllowed() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getNumAcceptAllowed
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setNumAcceptAllowed(java.lang.Integer newValue)
setNumAcceptAllowed
in interface
CouponPromotionAccessBeanData
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.
getNumOffered
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setNumOffered(java.lang.Integer newValue)
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.
setNumOffered
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getNumSeenAllowed
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setNumSeenAllowed(java.lang.Integer newValue)
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.
setNumSeenAllowed
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getNumUseAllowed
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setNumUseAllowed(java.lang.Integer newValue)
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.
setNumUseAllowed
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getPromoDispType
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromoDispType(java.lang.String newValue)
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.
setPromoDispType
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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).
getPromotionDescription
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromotionDescription(java.lang.String newValue)
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).
setPromotionDescription
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getPromotionName
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromotionName(java.lang.String newValue)
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.
setPromotionName
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getPurchaseCondType
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPurchaseCondType(java.lang.String newValue)
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.
setPurchaseCondType
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getStartDate
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStartDate(java.sql.Timestamp newValue)
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.
setStartDate
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getStatus
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStatus(java.lang.String newValue)
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.
setStatus
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getStoreId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreId(java.lang.Integer newValue)
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.
setStoreId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getTotalNumOffer
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTotalNumOffer(java.lang.Integer newValue)
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.
setTotalNumOffer
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
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.
getValidityId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setValidityId(java.lang.Integer newValue)
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.
setValidityId
in interface
CouponPromotionAccessBeanData
java.rmi.RemoteException
public void setInitKey_couponPromotionId(java.lang.Integer newValue)
Set the primary key for this object
newValue
- java.lang.Integerpublic 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
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
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 = ?
paramInitiativeId
- The initiative Id.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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 = ?
paramPromoName
- The coupon promotion name.paramStoreId
- The store ID.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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 < ?.
paramEndDate
- The end date of the coupon promotion.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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 = ?
storeId
- The store Idstatus
- The statusjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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 = ?
paramCouponPromotionId
- The coupon promotion Id.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public boolean fulfills(java.lang.Long member, java.lang.String relationship) 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 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 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
paramEndDate
- The end date of the coupon promotion.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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
paramCouponPromotionId
- The coupon promotion Id.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException