|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.couponpromotion.objects.PromoDescriptionAccessBean
This bean provides access to the CPPMNDESC table.
The following is a description of this table:
This table contains the language specific description of the promotion.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PromoDescriptionAccessBean()
Default constructor. |
|
PromoDescriptionAccessBean(javax.ejb.EJBObject newPromoDescEJB)
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in CPPMNDESC table. |
|
PromoDescriptionAccessBean(java.lang.Integer newPromoId,
java.lang.Integer newLanguageId,
java.lang.String newThumbNailPath,
java.lang.String newFullImagePath,
java.lang.String newShortDesc,
java.lang.String newLongDesc)
This method calls the ejbCreate method to create an entry in CPPMNDESC table. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
PromoDescriptionAccessBean |
findByPromoIdLanguageId(java.lang.Integer couponPromotionId,
java.lang.Integer languageId)
This method executes the following SQl script: SELECT T1.CPPMN_ID, T1.THUMBNAILPATH, T1.LONGDESC, T1.SHORTDESC, T1.LANGUAGE_ID, T1.FULLIMAGEPATH FROM CPPMNDESC T1 WHERE (T1.CPPMN_ID = ?) AND (T1.LANGUAGE_ID = ?) |
java.lang.String |
getFullImagePath()
This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254) NULL. |
java.lang.Integer |
getLanguageId()
This method provides access to the CPPMNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLongDesc()
This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254) NULL. |
java.lang.Integer |
getPromoId()
This method provides access to the CPPMNDESC.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getShortDesc()
This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64) NULL. |
java.lang.String |
getThumbNailPath()
This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setFullImagePath(java.lang.String fullImagePath)
This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_languageId(java.lang.Integer languageId)
Set the primary key for this object |
void |
setInitKey_promoId(java.lang.Integer promoId)
Set the primary key for this object |
void |
setLanguageId(java.lang.Integer languageId)
This method provides access to the CPPMNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLongDesc(java.lang.String longDesc)
This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254) NULL. |
void |
setPromoId(java.lang.Integer promoId)
This method provides access to the CPPMNDESC.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
void |
setShortDesc(java.lang.String shortDesc)
This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64) NULL. |
void |
setThumbNailPath(java.lang.String thumbNailPath)
This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254) NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PromoDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PromoDescriptionAccessBean(javax.ejb.EJBObject newPromoDescEJB) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in CPPMNDESC table.
newPromoDescEJB
- The Coupon promotion description EJB.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PromoDescriptionAccessBean(java.lang.Integer newPromoId, java.lang.Integer newLanguageId, java.lang.String newThumbNailPath, java.lang.String newFullImagePath, java.lang.String newShortDesc, java.lang.String newLongDesc) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
This method calls the ejbCreate method to create an entry in CPPMNDESC table.
newPromoId
- The Promotion Id.newLanguageId
- The language Id.newThumbNailPath
- The directory path of the thumbnail image of the coupon.newFullImagePath
- The directory path of the full image of the coupon.newShortDesc
- The short description of the coupon.newLongDesc
- The long description.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PromoDescriptionAccessBean findByPromoIdLanguageId(java.lang.Integer couponPromotionId, java.lang.Integer languageId) throws javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException
This method executes the following SQl script: SELECT T1.CPPMN_ID, T1.THUMBNAILPATH, T1.LONGDESC, T1.SHORTDESC, T1.LANGUAGE_ID, T1.FULLIMAGEPATH FROM CPPMNDESC T1 WHERE (T1.CPPMN_ID = ?) AND (T1.LANGUAGE_ID = ?)
couponPromotionId
- The coupon promotion IdlanguageId
- The language Id.javax.naming.NamingException
- The javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.String getFullImagePath() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Path of the full image to be shown for this promotion for this language.
getFullImagePath
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary key. Foreign key to LANGUAGE table. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLongDesc() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Long description of the promotion.
getLongDesc
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getPromoId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary Key. Foreign key to CPPMN table.
getPromoId
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getShortDesc() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Short description of the promotion.
getShortDesc
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getThumbNailPath() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Path of the thumbnail to be shown for this promotion for this language.
getThumbNailPath
in interface PromoDescriptionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setFullImagePath(java.lang.String fullImagePath)
This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Path of the full image to be shown for this promotion for this language.
setFullImagePath
in interface PromoDescriptionAccessBeanData
fullImagePath
- The full image path of the coupon promotion.public void setInitKey_languageId(java.lang.Integer languageId)
Set the primary key for this object
languageId
- The language Id.public void setInitKey_promoId(java.lang.Integer promoId)
Set the primary key for this object
promoId
- The coupon promotion Id.public void setLanguageId(java.lang.Integer languageId)
This method provides access to the CPPMNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary key. Foreign key to LANGUAGE table. For a list of language components, see the LANGUAGE table.
setLanguageId
in interface PromoDescriptionAccessBeanData
languageId
- The language Id.public void setLongDesc(java.lang.String longDesc)
This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Long description of the promotion.
setLongDesc
in interface PromoDescriptionAccessBeanData
longDesc
- The long description of the coupon promotion.public void setPromoId(java.lang.Integer promoId)
This method provides access to the CPPMNDESC.CPPMN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary Key. Foreign key to CPPMN table.
setPromoId
in interface PromoDescriptionAccessBeanData
promoId
- The coupon promotion Id.public void setShortDesc(java.lang.String shortDesc)
This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Short description of the promotion.
setShortDesc
in interface PromoDescriptionAccessBeanData
shortDesc
- The short description of the coupon promotion.public void setThumbNailPath(java.lang.String thumbNailPath)
This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Path of the thumbnail to be shown for this promotion for this language.
setThumbNailPath
in interface PromoDescriptionAccessBeanData
thumbNailPath
- The thumbnail path of the coupon promotion.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |