com.ibm.commerce.couponpromotion.objects
Class CouponPromotionAccessBean

java.lang.Object
  AbstractEntityAccessBean
      com.ibm.commerce.couponpromotion.objects.CouponPromotionAccessBean
All Implemented Interfaces:
CouponPromotionAccessBeanData

public class CouponPromotionAccessBean
extends AbstractEntityAccessBean
implements CouponPromotionAccessBeanData

This table gives the details of what a promotion is, and reference to its purchase, validity, and discount conditions. This access bean corresponds to the database table 'CPPMN'. CouponPromotionAccessBean

See Also:
Serialized Form

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)
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)
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 newCreationTime)
This method provides access to the CPPMN.CREATIONTIME column of DB2 type TIMESTAMP NULL.
void setCurrency(java.lang.String newCurrency)
This method provides access to the CPPMN.SETCCURR column of DB2 type CHAR(3) NULL.
void setEarlyBirdLimit(java.lang.Integer newEarlyBirdLimit)
This method provides access to the CPPMN.EARLYBIRDLIMIT column of DB2 type INTEGER NULL.
void setEndDate(java.sql.Timestamp newEndDate)
This method provides access to the CPPMN.ENDDATE column of DB2 type TIMESTAMP NULL.
void setField1(java.lang.String newField1)
This method provides access to the CPPMN.FIELD1 column of DB2 type VARCHAR(64) NULL.
void setInitiativeId(java.lang.Integer newInitiativeId)
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 newNumAcceptAllowed)
Set accessor for persistent attribute: numAcceptAllowed
void setNumOffered(java.lang.Integer newNumOffered)
This method provides access to the CPPMN.NUMOFFERED column of DB2 type INTEGER NOT NULL.
void setNumSeenAllowed(java.lang.Integer newNumSeenAllowed)
This method provides access to the CPPMN.NUMSEENALLOWED column of DB2 type INTEGER NOT NULL.
void setNumUseAllowed(java.lang.Integer newNumUseAllowed)
This method provides access to the CPPMN.NUMUSEALLOWED column of DB2 type INTEGER NOT NULL.
void setPromoDispType(java.lang.String newPromoDispType)
This method provides access to the CPPMN.PROMODISPTYPE column of DB2 type CHAR(4) NOT NULL.
void setPromotionDescription(java.lang.String newPromotionDescription)
This method provides access to the CPPMN.CPPMNDESC column of DB2 type CHAR(254) NULL.
void setPromotionName(java.lang.String newPromotionName)
This method provides access to the CPPMN.CPPMNNAME column of DB2 type CHAR(64) NOT NULL.
void setPurchaseCondType(java.lang.String newPurchaseCondType)
This method provides access to the CPPMN.PURCHASECONDTYPE column of DB2 type CHAR(4) NOT NULL.
void setStartDate(java.sql.Timestamp newStartDate)
This method provides access to the CPPMN.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
void setStatus(java.lang.String newStatus)
This method provides access to the CPPMN.STATUS column of DB2 type CHAR(1) NOT NULL.
void setStoreId(java.lang.Integer newStoreId)
This method provides access to the CPPMN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
void setTotalNumOffer(java.lang.Integer newTotalNumOffer)
This method provides access to the CPPMN.TOTALNUMOFFER column of DB2 type INTEGER NOT NULL.
void setValidityId(java.lang.Integer newValidityId)
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

CouponPromotionAccessBean

public CouponPromotionAccessBean()
constructor

CouponPromotionAccessBean

public CouponPromotionAccessBean(javax.ejb.EJBObject o)
                          throws java.rmi.RemoteException
CouponPromotionAccessBean

CouponPromotionAccessBean

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
CouponPromotionAccessBean

CouponPromotionAccessBean

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.

Parameters:
newInitiativeId - The initiative Id.
newValidityId - The validity Id.
newPurchaseCondType - The purchase condition type (Order or Product)
newNumSeenAllowed - The number of times the coupons of this promotion be allowed to be seen.
newPromoDispType - The Promotion display type(Banner Ad or E-mail or Offerlist)
newNumUseAllowed - The number of times the coupons of this promition be allowed to be used.
newTotalNumOffer - The number of coupons to offer.
newCurrency - The currency.
newPromoName - The coupon promotion name.
newPromoDesc - The coupon promotion description.
newStartTime - The start time of the coupon promotion.
newEndTime - The end time of the coupon promotion.
newStoreId - The store Id.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

getCouponPromotionId

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).

Specified by:
getCouponPromotionId in interface CouponPromotionAccessBeanData
Returns:
The coupon promotion Id.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCreationTime

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.

Specified by:
getCreationTime in interface CouponPromotionAccessBeanData
Returns:
The coupon promotion creation time.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCreationTime

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.

Specified by:
setCreationTime in interface CouponPromotionAccessBeanData
Parameters:
newCreationTime - The creation time.
Throws:
java.rmi.RemoteException

getCurrency

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.

Specified by:
getCurrency in interface CouponPromotionAccessBeanData
Returns:
The currency.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

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.

Specified by:
setCurrency in interface CouponPromotionAccessBeanData
Parameters:
newCurrency - The newCurrency.
Throws:
java.rmi.RemoteException

getEarlyBirdLimit

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.

Specified by:
getEarlyBirdLimit in interface CouponPromotionAccessBeanData
Returns:
The total number of eraly bird coupons.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEarlyBirdLimit

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.

Specified by:
setEarlyBirdLimit in interface CouponPromotionAccessBeanData
Parameters:
newEarlyBirdLimit - The limit of early-bird coupons.
Throws:
java.rmi.RemoteException

getEndDate

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.

Specified by:
getEndDate in interface CouponPromotionAccessBeanData
Returns:
The end date of the coupon promotion.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndDate

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.

Specified by:
setEndDate in interface CouponPromotionAccessBeanData
Parameters:
newEndDate - The end date of the coupon promotion.
Throws:
java.rmi.RemoteException

getField1

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.

Specified by:
getField1 in interface CouponPromotionAccessBeanData
Returns:
The customizable field.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

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.

Specified by:
setField1 in interface CouponPromotionAccessBeanData
Parameters:
newField1 - The customizable field.
Throws:
java.rmi.RemoteException

getInitiativeId

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.

Specified by:
getInitiativeId in interface CouponPromotionAccessBeanData
Returns:
The initiative Id.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInitiativeId

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.

Specified by:
setInitiativeId in interface CouponPromotionAccessBeanData
Parameters:
newInitiativeId - The initiative Id.
Throws:
java.rmi.RemoteException

getNumAcceptAllowed

public java.lang.Integer getNumAcceptAllowed()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
Get accessor for persistent attribute: numAcceptAllowed
Specified by:
getNumAcceptAllowed in interface CouponPromotionAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumAcceptAllowed

public void setNumAcceptAllowed(java.lang.Integer newNumAcceptAllowed)
Set accessor for persistent attribute: numAcceptAllowed
Specified by:
setNumAcceptAllowed in interface CouponPromotionAccessBeanData

getNumOffered

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.

Specified by:
getNumOffered in interface CouponPromotionAccessBeanData
Returns:
The total number number of coupons to offer.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumOffered

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.

Specified by:
setNumOffered in interface CouponPromotionAccessBeanData
Parameters:
newNumOffered - The number of coupons already offered.
Throws:
java.rmi.RemoteException

getNumSeenAllowed

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.

Specified by:
getNumSeenAllowed in interface CouponPromotionAccessBeanData
Returns:
The number of times the user is allowed to see this coupon.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumSeenAllowed

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.

Specified by:
setNumSeenAllowed in interface CouponPromotionAccessBeanData
Parameters:
newNumSeenAllowed - The number of times the coupon promotion should be offered to the user.
Throws:
java.rmi.RemoteException

getNumUseAllowed

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.

Specified by:
getNumUseAllowed in interface CouponPromotionAccessBeanData
Returns:
The numer of times a coupon from this promotion be allowed to use.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumUseAllowed

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.

Specified by:
setNumUseAllowed in interface CouponPromotionAccessBeanData
Parameters:
newNumUseAllowed - The number of times a coupon of this promotion be allowed to use.
Throws:
java.rmi.RemoteException

getPromoDispType

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.

Specified by:
getPromoDispType in interface CouponPromotionAccessBeanData
Returns:
The coupon promotion display type(banner ad, e-mail or offerlist).
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPromoDispType

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.

Specified by:
setPromoDispType in interface CouponPromotionAccessBeanData
Parameters:
newPromoDispType - The promotion display media (Banner Ad, e-mail or offerlist)
Throws:
java.rmi.RemoteException

getPromotionDescription

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).

Specified by:
getPromotionDescription in interface CouponPromotionAccessBeanData
Returns:
The coupon promotion description.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPromotionDescription

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).

Specified by:
setPromotionDescription in interface CouponPromotionAccessBeanData
Parameters:
newPromotionDescription - The coupon promotion description.
Throws:
java.rmi.RemoteException

getPromotionName

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.

Specified by:
getPromotionName in interface CouponPromotionAccessBeanData
Returns:
The coupon promotion name.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPromotionName

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.

Specified by:
setPromotionName in interface CouponPromotionAccessBeanData
Parameters:
newPromotionName - The coupon promotion name.
Throws:
java.rmi.RemoteException

getPurchaseCondType

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.

Specified by:
getPurchaseCondType in interface CouponPromotionAccessBeanData
Returns:
The purchase condition type(order or product).
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPurchaseCondType

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.

Specified by:
setPurchaseCondType in interface CouponPromotionAccessBeanData
Parameters:
newPurchaseCondType - The purchase condition type(product or order).
Throws:
java.rmi.RemoteException

getStartDate

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.

Specified by:
getStartDate in interface CouponPromotionAccessBeanData
Returns:
The start date of the coupon promotion.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartDate

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.

Specified by:
setStartDate in interface CouponPromotionAccessBeanData
Parameters:
newStartDate - The start date of the coupon promotion.
Throws:
java.rmi.RemoteException

getStatus

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.

Specified by:
getStatus in interface CouponPromotionAccessBeanData
Returns:
The status of the coupon promotion.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStatus

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.

Specified by:
setStatus in interface CouponPromotionAccessBeanData
Parameters:
newStatus - The status of the coupon promotion.
Throws:
java.rmi.RemoteException

getStoreId

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.

Specified by:
getStoreId in interface CouponPromotionAccessBeanData
Returns:
The store Id.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

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.

Specified by:
setStoreId in interface CouponPromotionAccessBeanData
Parameters:
newStoreId - The store Id.
Throws:
java.rmi.RemoteException

getTotalNumOffer

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.

Specified by:
getTotalNumOffer in interface CouponPromotionAccessBeanData
Returns:
The total number of coupons to offer.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTotalNumOffer

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.

Specified by:
setTotalNumOffer in interface CouponPromotionAccessBeanData
Parameters:
newTotalNumOffer - The total number of coupons to offer.
Throws:
java.rmi.RemoteException

getValidityId

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.

Specified by:
getValidityId in interface CouponPromotionAccessBeanData
Returns:
The validity Id.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setValidityId

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.

Specified by:
setValidityId in interface CouponPromotionAccessBeanData
Parameters:
newValidityId - The validity Id.
Throws:
java.rmi.RemoteException

setInitKey_couponPromotionId

public void setInitKey_couponPromotionId(java.lang.Integer newValue)
setInitKey_couponPromotionId

Set the primary key for this object

Parameters:
newValue - java.lang.Integer
Returns:
void

defaultJNDIName

public java.lang.String defaultJNDIName()
defaultJNDIName
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws javax.naming.NamingException,
                              javax.ejb.FinderException,
                              java.rmi.RemoteException
instantiateEJB
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws javax.ejb.CreateException,
                                             java.rmi.RemoteException,
                                             javax.naming.NamingException
instantiateEJBByPrimaryKey
Returns:
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
refreshCopyHelper
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException
commitCopyHelper
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

findByInitiativeId

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 = ?

Parameters:
paramInitiativeId - The initiative Id.
Returns:
The rows from CPPMN table.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByPromoNameStoreId

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 = ?

Parameters:
paramPromoName - The coupon promotion name.
paramStoreId - The store ID.
Returns:
The row from CPPMN table.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByEndDateBefore

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 < ?.

Parameters:
paramEndDate - The end date of the coupon promotion.
Returns:
The rows from CPPMN table.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreIdStatus

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 = ?

Parameters:
storeId - The store Id
status - The status
Returns:
The rows from CPPMN table.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCouponPromotionId

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 = ?

Parameters:
paramCouponPromotionId - The coupon promotion Id.
Returns:
com.ibm.commerce.couponpromotion.objects.CouponPromotion
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

fulfills

public boolean fulfills(java.lang.Long member,
                        java.lang.String relationship)
                 throws javax.naming.NamingException,
                        javax.ejb.FinderException,
                        java.lang.Exception,
                        java.rmi.RemoteException
fulfills
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

getOwner

public java.lang.Long getOwner()
                        throws javax.naming.NamingException,
                               javax.ejb.FinderException,
                               java.lang.Exception,
                               java.rmi.RemoteException
getOwner
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

findByEndDateBeforeForUpdate

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

Parameters:
paramEndDate - The end date of the coupon promotion.
Returns:
The rows from CPPMN table.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCouponPromotionIdForUpdate

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

Parameters:
paramCouponPromotionId - The coupon promotion Id.
Returns:
com.ibm.commerce.couponpromotion.objects.CouponPromotion
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

Feedback