com.ibm.commerce.couponpromotion.objects
Class CouponPromotionBean

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.couponpromotion.objects.CouponPromotionBean

public class CouponPromotionBean
extends com.ibm.commerce.base.objects.ECEntityBean

Bean implementation class for Enterprise Bean: CouponPromotion

See Also:
Serialized Form

Field Summary
 java.lang.Integer couponPromotionId
          Implemetation field for persistent attribute: couponPromotionId
 java.sql.Timestamp creationTime
          Implemetation field for persistent attribute: creationTime
 java.lang.String currency
          Implemetation field for persistent attribute: currency
 java.lang.Integer earlyBirdLimit
          Implemetation field for persistent attribute: earlyBirdLimit
 java.sql.Timestamp endDate
          Implemetation field for persistent attribute: endDate
 java.lang.String field1
          Implemetation field for persistent attribute: field1
 java.lang.Integer initiativeId
          Implemetation field for persistent attribute: initiativeId
 java.lang.Integer numAcceptAllowed
          Implemetation field for persistent attribute: numAcceptAllowed
 java.lang.Integer numOffered
          Implemetation field for persistent attribute: numOffered
 java.lang.Integer numSeenAllowed
          Implemetation field for persistent attribute: numSeenAllowed
 java.lang.Integer numUseAllowed
          Implemetation field for persistent attribute: numUseAllowed
 java.lang.String promoDispType
          Implemetation field for persistent attribute: promoDispType
 java.lang.String promotionDescription
          Implemetation field for persistent attribute: promotionDescription
 java.lang.String promotionName
          Implemetation field for persistent attribute: promotionName
 java.lang.String purchaseCondType
          Implemetation field for persistent attribute: purchaseCondType
 java.sql.Timestamp startDate
          Implemetation field for persistent attribute: startDate
 java.lang.String status
          Implemetation field for persistent attribute: status
 java.lang.Integer storeId
          Implemetation field for persistent attribute: storeId
 java.lang.Integer totalNumOffer
          Implemetation field for persistent attribute: totalNumOffer
 java.lang.Integer validityId
          Implemetation field for persistent attribute: validityId
 
Constructor Summary
CouponPromotionBean()
           
 
Method Summary
 java.util.Hashtable _copyFromEJB()
          _copyFromEJB
 void _copyToEJB(java.util.Hashtable h)
          _copyToEJB
protected  java.util.Vector _getLinks()
          This method was generated for supporting the associations.
protected  void _initLinks()
          This method was generated for supporting the associations.
protected  void _removeLinks()
          This method was generated for supporting the associations.
 void ejbActivate()
          ejbActivate
 com.ibm.commerce.couponpromotion.objects.CouponPromotionKey ejbCreate(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)
           
 com.ibm.commerce.couponpromotion.objects.CouponPromotionKey ejbCreate(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)
           
 void ejbLoad()
          ejbLoad
 void ejbPassivate()
          ejbPassivate
 void ejbPostCreate(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)
          ejbPostCreate
 void ejbPostCreate(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)
           
 void ejbRemove()
          ejbRemove
 void ejbStore()
          ejbStore
 java.lang.Integer getCouponPromotionId()
          Gets the couponPromotionId
 java.sql.Timestamp getCreationTime()
          Get accessor for persistent attribute: creationTime
 java.lang.String getCurrency()
          Get accessor for persistent attribute: currency
 java.lang.Integer getEarlyBirdLimit()
          Get accessor for persistent attribute: earlyBirdLimit
 java.sql.Timestamp getEndDate()
          Get accessor for persistent attribute: endDate
 javax.ejb.EntityContext getEntityContext()
          getEntityContext
 java.lang.String getField1()
          Get accessor for persistent attribute: field1
 java.lang.Integer getInitiativeId()
          Get accessor for persistent attribute: initiativeId
 java.lang.Integer getNumAcceptAllowed()
          Get accessor for persistent attribute: numAcceptAllowed
 java.lang.Integer getNumOffered()
          Get accessor for persistent attribute: numOffered
 java.lang.Integer getNumSeenAllowed()
          Get accessor for persistent attribute: numSeenAllowed
 java.lang.Integer getNumUseAllowed()
          Get accessor for persistent attribute: numUseAllowed
 java.lang.String getPromoDispType()
          Get accessor for persistent attribute: promoDispType
 java.lang.String getPromotionDescription()
          Get accessor for persistent attribute: promotionDescription
 java.lang.String getPromotionName()
          Get accessor for persistent attribute: promotionName
 java.lang.String getPurchaseCondType()
          Get accessor for persistent attribute: purchaseCondType
 java.sql.Timestamp getStartDate()
          Get accessor for persistent attribute: startDate
 java.lang.String getStatus()
          Get accessor for persistent attribute: status
 java.lang.Integer getStoreId()
          Get accessor for persistent attribute: storeId
 java.lang.Integer getTotalNumOffer()
          Get accessor for persistent attribute: totalNumOffer
 java.lang.Integer getValidityId()
          Get accessor for persistent attribute: validityId
 void setCreationTime(java.sql.Timestamp newCreationTime)
          Set accessor for persistent attribute: creationTime
 void setCurrency(java.lang.String newCurrency)
          Set accessor for persistent attribute: currency
 void setEarlyBirdLimit(java.lang.Integer newEarlyBirdLimit)
          Set accessor for persistent attribute: earlyBirdLimit
 void setEndDate(java.sql.Timestamp newEndDate)
          Set accessor for persistent attribute: endDate
 void setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext
 void setField1(java.lang.String newField1)
          Set accessor for persistent attribute: field1
 void setInitiativeId(java.lang.Integer newInitiativeId)
          Set accessor for persistent attribute: initiativeId
 void setNumAcceptAllowed(java.lang.Integer newNumAcceptAllowed)
          Set accessor for persistent attribute: numAcceptAllowed
 void setNumOffered(java.lang.Integer newNumOffered)
          Set accessor for persistent attribute: numOffered
 void setNumSeenAllowed(java.lang.Integer newNumSeenAllowed)
          Set accessor for persistent attribute: numSeenAllowed
 void setNumUseAllowed(java.lang.Integer newNumUseAllowed)
          Set accessor for persistent attribute: numUseAllowed
 void setPromoDispType(java.lang.String newPromoDispType)
          Set accessor for persistent attribute: promoDispType
 void setPromotionDescription(java.lang.String newPromotionDescription)
          Set accessor for persistent attribute: promotionDescription
 void setPromotionName(java.lang.String newPromotionName)
          Set accessor for persistent attribute: promotionName
 void setPurchaseCondType(java.lang.String newPurchaseCondType)
          Set accessor for persistent attribute: purchaseCondType
 void setStartDate(java.sql.Timestamp newStartDate)
          Set accessor for persistent attribute: startDate
 void setStatus(java.lang.String newStatus)
          Set accessor for persistent attribute: status
 void setStoreId(java.lang.Integer newStoreId)
          Set accessor for persistent attribute: storeId
 void setTotalNumOffer(java.lang.Integer newTotalNumOffer)
          Set accessor for persistent attribute: totalNumOffer
 void setValidityId(java.lang.Integer newValidityId)
          Set accessor for persistent attribute: validityId
 void unsetEntityContext()
          unsetEntityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

couponPromotionId

public java.lang.Integer couponPromotionId
Implemetation field for persistent attribute: couponPromotionId

initiativeId

public java.lang.Integer initiativeId
Implemetation field for persistent attribute: initiativeId

validityId

public java.lang.Integer validityId
Implemetation field for persistent attribute: validityId

earlyBirdLimit

public java.lang.Integer earlyBirdLimit
Implemetation field for persistent attribute: earlyBirdLimit

creationTime

public java.sql.Timestamp creationTime
Implemetation field for persistent attribute: creationTime

purchaseCondType

public java.lang.String purchaseCondType
Implemetation field for persistent attribute: purchaseCondType

numSeenAllowed

public java.lang.Integer numSeenAllowed
Implemetation field for persistent attribute: numSeenAllowed

promoDispType

public java.lang.String promoDispType
Implemetation field for persistent attribute: promoDispType

numUseAllowed

public java.lang.Integer numUseAllowed
Implemetation field for persistent attribute: numUseAllowed

field1

public java.lang.String field1
Implemetation field for persistent attribute: field1

totalNumOffer

public java.lang.Integer totalNumOffer
Implemetation field for persistent attribute: totalNumOffer

numOffered

public java.lang.Integer numOffered
Implemetation field for persistent attribute: numOffered

currency

public java.lang.String currency
Implemetation field for persistent attribute: currency

status

public java.lang.String status
Implemetation field for persistent attribute: status

promotionName

public java.lang.String promotionName
Implemetation field for persistent attribute: promotionName

promotionDescription

public java.lang.String promotionDescription
Implemetation field for persistent attribute: promotionDescription

startDate

public java.sql.Timestamp startDate
Implemetation field for persistent attribute: startDate

endDate

public java.sql.Timestamp endDate
Implemetation field for persistent attribute: endDate

storeId

public java.lang.Integer storeId
Implemetation field for persistent attribute: storeId

numAcceptAllowed

public java.lang.Integer numAcceptAllowed
Implemetation field for persistent attribute: numAcceptAllowed
Constructor Detail

CouponPromotionBean

public CouponPromotionBean()
Method Detail

getEntityContext

public javax.ejb.EntityContext getEntityContext()
getEntityContext

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext

unsetEntityContext

public void unsetEntityContext()
unsetEntityContext

ejbActivate

public void ejbActivate()
ejbActivate

ejbCreate

public com.ibm.commerce.couponpromotion.objects.CouponPromotionKey ejbCreate(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.ejb.CreateException,
                                                                             javax.ejb.FinderException,
                                                                             javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

ejbCreate

public com.ibm.commerce.couponpromotion.objects.CouponPromotionKey ejbCreate(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.ejb.CreateException,
                                                                             javax.ejb.FinderException,
                                                                             javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

ejbLoad

public void ejbLoad()
ejbLoad

ejbPassivate

public void ejbPassivate()
ejbPassivate

ejbPostCreate

public void ejbPostCreate(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.ejb.CreateException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
ejbPostCreate
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

ejbPostCreate

public void ejbPostCreate(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.ejb.CreateException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
ejbRemove
javax.ejb.RemoveException

ejbStore

public void ejbStore()
ejbStore

_initLinks

protected void _initLinks()
This method was generated for supporting the associations.

_getLinks

protected java.util.Vector _getLinks()
This method was generated for supporting the associations.

_removeLinks

protected void _removeLinks()
                     throws java.rmi.RemoteException,
                            javax.ejb.RemoveException
This method was generated for supporting the associations.
java.rmi.RemoteException
javax.ejb.RemoveException

getInitiativeId

public java.lang.Integer getInitiativeId()
Get accessor for persistent attribute: initiativeId

setInitiativeId

public void setInitiativeId(java.lang.Integer newInitiativeId)
Set accessor for persistent attribute: initiativeId

getValidityId

public java.lang.Integer getValidityId()
Get accessor for persistent attribute: validityId

setValidityId

public void setValidityId(java.lang.Integer newValidityId)
Set accessor for persistent attribute: validityId

getEarlyBirdLimit

public java.lang.Integer getEarlyBirdLimit()
Get accessor for persistent attribute: earlyBirdLimit

setEarlyBirdLimit

public void setEarlyBirdLimit(java.lang.Integer newEarlyBirdLimit)
Set accessor for persistent attribute: earlyBirdLimit

getCreationTime

public java.sql.Timestamp getCreationTime()
Get accessor for persistent attribute: creationTime

setCreationTime

public void setCreationTime(java.sql.Timestamp newCreationTime)
Set accessor for persistent attribute: creationTime

getPurchaseCondType

public java.lang.String getPurchaseCondType()
Get accessor for persistent attribute: purchaseCondType

setPurchaseCondType

public void setPurchaseCondType(java.lang.String newPurchaseCondType)
Set accessor for persistent attribute: purchaseCondType

getNumSeenAllowed

public java.lang.Integer getNumSeenAllowed()
Get accessor for persistent attribute: numSeenAllowed

setNumSeenAllowed

public void setNumSeenAllowed(java.lang.Integer newNumSeenAllowed)
Set accessor for persistent attribute: numSeenAllowed

getPromoDispType

public java.lang.String getPromoDispType()
Get accessor for persistent attribute: promoDispType

setPromoDispType

public void setPromoDispType(java.lang.String newPromoDispType)
Set accessor for persistent attribute: promoDispType

getNumUseAllowed

public java.lang.Integer getNumUseAllowed()
Get accessor for persistent attribute: numUseAllowed

setNumUseAllowed

public void setNumUseAllowed(java.lang.Integer newNumUseAllowed)
Set accessor for persistent attribute: numUseAllowed

getField1

public java.lang.String getField1()
Get accessor for persistent attribute: field1

setField1

public void setField1(java.lang.String newField1)
Set accessor for persistent attribute: field1

getTotalNumOffer

public java.lang.Integer getTotalNumOffer()
Get accessor for persistent attribute: totalNumOffer

setTotalNumOffer

public void setTotalNumOffer(java.lang.Integer newTotalNumOffer)
Set accessor for persistent attribute: totalNumOffer

getNumOffered

public java.lang.Integer getNumOffered()
Get accessor for persistent attribute: numOffered

setNumOffered

public void setNumOffered(java.lang.Integer newNumOffered)
Set accessor for persistent attribute: numOffered

getCurrency

public java.lang.String getCurrency()
Get accessor for persistent attribute: currency

setCurrency

public void setCurrency(java.lang.String newCurrency)
Set accessor for persistent attribute: currency

getStatus

public java.lang.String getStatus()
Get accessor for persistent attribute: status

setStatus

public void setStatus(java.lang.String newStatus)
Set accessor for persistent attribute: status

getPromotionName

public java.lang.String getPromotionName()
Get accessor for persistent attribute: promotionName

setPromotionName

public void setPromotionName(java.lang.String newPromotionName)
Set accessor for persistent attribute: promotionName

getPromotionDescription

public java.lang.String getPromotionDescription()
Get accessor for persistent attribute: promotionDescription

setPromotionDescription

public void setPromotionDescription(java.lang.String newPromotionDescription)
Set accessor for persistent attribute: promotionDescription

getStartDate

public java.sql.Timestamp getStartDate()
Get accessor for persistent attribute: startDate

setStartDate

public void setStartDate(java.sql.Timestamp newStartDate)
Set accessor for persistent attribute: startDate

getEndDate

public java.sql.Timestamp getEndDate()
Get accessor for persistent attribute: endDate

setEndDate

public void setEndDate(java.sql.Timestamp newEndDate)
Set accessor for persistent attribute: endDate

getStoreId

public java.lang.Integer getStoreId()
Get accessor for persistent attribute: storeId

setStoreId

public void setStoreId(java.lang.Integer newStoreId)
Set accessor for persistent attribute: storeId

getNumAcceptAllowed

public java.lang.Integer getNumAcceptAllowed()
Get accessor for persistent attribute: numAcceptAllowed

setNumAcceptAllowed

public void setNumAcceptAllowed(java.lang.Integer newNumAcceptAllowed)
Set accessor for persistent attribute: numAcceptAllowed

getCouponPromotionId

public java.lang.Integer getCouponPromotionId()
Gets the couponPromotionId
Returns:
Returns a java.lang.Integer

_copyFromEJB

public java.util.Hashtable _copyFromEJB()
_copyFromEJB

_copyToEJB

public void _copyToEJB(java.util.Hashtable h)
_copyToEJB