java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.couponpromotion.objects.PromoDescriptionAccessBean
This table contains the language specific description of the promotion.
Constructor Summary | |
---|---|
PromoDescriptionAccessBean() constructor | |
PromoDescriptionAccessBean(java.lang.Integer arg0,
java.lang.Integer arg1, java.lang.String arg2, java.lang.String arg3,
java.lang.String arg4, java.lang.String arg5) constructor | |
PromoDescriptionAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
PromoDescriptionAccessBean |
findByPromoIdLanguageId(java.lang.Integer arg0,
java.lang.Integer arg1) 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). |
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). |
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). |
java.lang.String |
getThumbNailPath() This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254). |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setFullImagePath(java.lang.String newValue) This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254). |
void |
setInitKey_languageId(java.lang.Integer newValue) Set the primary key for this object |
void |
setInitKey_promoId(java.lang.Integer newValue) Set the primary key for this object |
void |
setLanguageId(java.lang.Integer newValue) This method provides access to the CPPMNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLongDesc(java.lang.String newValue) This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254). |
void |
setPromoId(java.lang.Integer newValue) This method provides access to the CPPMNDESC.CPPMN_ID column of DB2 type INTEGER NOT NULL. |
void |
setShortDesc(java.lang.String newValue) This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64). |
void |
setThumbNailPath(java.lang.String newValue) This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public PromoDescriptionAccessBean()
public PromoDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PromoDescriptionAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Integerarg1
- java.lang.Integerarg2
- java.lang.Stringarg3
- java.lang.Stringarg4
- java.lang.Stringarg5
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public PromoDescriptionAccessBean findByPromoIdLanguageId(java.lang.Integer arg0, java.lang.Integer arg1) 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 = ?)
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 void setInitKey_languageId(java.lang.Integer newValue)
Set the primary key for this object
newValue
- java.lang.Integerpublic void setInitKey_promoId(java.lang.Integer newValue)
Set the primary key for this object
newValue
- java.lang.Integerprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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).
The following is a description of this column:
Long description of the promotion.
getLongDesc
in interface
PromoDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLongDesc(java.lang.String newValue)
This method provides access to the CPPMNDESC.LONGDESC column of DB2 type VARCHAR(254).
The following is a description of this column:
Long description of the promotion.
setLongDesc
in interface
PromoDescriptionAccessBeanData
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLanguageId(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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).
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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setFullImagePath(java.lang.String newValue)
This method provides access to the CPPMNDESC.FULLIMAGEPATH column of DB2 type VARCHAR(254).
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
newValue
- java.lang.Stringpublic 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).
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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setThumbNailPath(java.lang.String newValue)
This method provides access to the CPPMNDESC.THUMBNAILPATH column of DB2 type VARCHAR(254).
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
newValue
- java.lang.Stringpublic 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).
The following is a description of this column:
Short description of the promotion.
getShortDesc
in interface
PromoDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setShortDesc(java.lang.String newValue)
This method provides access to the CPPMNDESC.SHORTDESC column of DB2 type VARCHAR(64).
The following is a description of this column:
Short description of the promotion.
setShortDesc
in interface
PromoDescriptionAccessBeanData
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPromoId(java.lang.Integer newValue)
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
newValue
- java.lang.Integer