|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.couponwallet.databeans.ViewCouponDetailDataBean
This data bean is used to view the details of a particular Coupon.
The input parameter for this data bean is :
This can be queried for the following :
Field Summary | |
java.lang.Long |
bcId
|
CommandContext |
commandContext
|
java.lang.String |
description
|
java.lang.String |
expiryDate
|
java.lang.Long |
productId
|
java.lang.String |
productName
|
java.lang.Long |
shopperId
|
java.lang.String |
thumbNailPath
|
Fields inherited from interface com.ibm.commerce.couponwallet.databeans.ViewCouponDetailInputDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Constructor Summary | |
ViewCouponDetailDataBean()
ViewWalletDatabean void constructor. |
Method Summary | |
java.lang.Long |
getBcId()
Get the coupon Id. |
CommandContext |
getCommandContext()
Get the command context. |
java.lang.String |
getDescription()
Get the description of the coupon. |
java.lang.String |
getExpiryDate()
Get the expiry date. |
java.lang.Long |
getProductId()
Get the productId. |
java.lang.String |
getProductName()
Get the product name. |
TypedProperty |
getRequestProperties()
Get the request properties. |
java.lang.Long |
getShopperId()
Get the id of the shopper. |
java.lang.String |
getThumbNailPath()
Get the path of the thumbnail. |
void |
populate()
This method is used to populate the data bean that is used to view the details of a particular Coupon. |
void |
setBcId(java.lang.Long newBcId)
Set the Coupon Ids. |
void |
setCommandContext(CommandContext newCommandContext)
Set the context of the command. |
void |
setProductId(java.lang.Long newProductId)
Set the Id of the product for which Coupon to be applied. |
void |
setProductName(java.lang.String newProductName)
Set the name of the product for which Coupon to be applied. |
void |
setRequestProperties(TypedProperty typeProp)
Set the properties of the request. |
void |
setShopperId(java.lang.Long newShopperId)
Set the Id of the shopper. |
void |
setValues(CouponWalletAccessBean tempcwAB,
CouponPromotionAccessBean temppAB)
Set the various attribute values of the Coupon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Long bcId
public CommandContext commandContext
public java.lang.String description
public java.lang.String expiryDate
public java.lang.Long productId
public java.lang.String productName
public java.lang.Long shopperId
public java.lang.String thumbNailPath
Constructor Detail |
public ViewCouponDetailDataBean()
Method Detail |
public java.lang.Long getBcId()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.lang.String getDescription()
public java.lang.String getExpiryDate()
public java.lang.Long getProductId()
public java.lang.String getProductName()
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public java.lang.Long getShopperId()
public java.lang.String getThumbNailPath()
public void populate()
populate
in interface SmartDataBean
javax.naming.NamingException
- java.rmi.RemoteException
- javax.ejb.CreateException
- javax.ejb.FinderException
- public void setBcId(java.lang.Long newBcId)
newBcId
- The coupon Id.public void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- The command context.public void setProductId(java.lang.Long newProductId)
newProductId
- The product Id.public void setProductName(java.lang.String newProductName)
newProductName
- The product name.public void setRequestProperties(TypedProperty typeProp)
setRequestProperties
in interface InputDataBean
typeProp
- The type property.public void setShopperId(java.lang.Long newShopperId)
newShopperId
- java.lang.Longpublic void setValues(CouponWalletAccessBean tempcwAB, CouponPromotionAccessBean temppAB) throws java.lang.Exception
index
- The index into the vector.cwAB
- The coupon wallet access bean.pAB
- The coupon promotion access bean.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |