java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.couponpromotion.objects.PromoDescriptionAccessBean
This table contains the language specific description of the promotion. This access bean corresponds to the database table 'CPPMNDESC'.
Constructor Summary | |
PromoDescriptionAccessBean() Zero argument constructor used to initialize the access bean. |
|
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. |
|
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 newPromoId, java.lang.Integer newLanguageId) 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 accesses a non-CMP field |
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 accesses a non-CMP field |
void | setLongDesc(java.lang.String newValue) This method accesses a non-CMP field |
void | setPromoId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setShortDesc(java.lang.String newValue) This method accesses a non-CMP field |
void | setThumbNailPath(java.lang.String newValue) This method accesses a non-CMP field |
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
public 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.
Method Detail |
public PromoDescriptionAccessBean findByPromoIdLanguageId(java.lang.Integer newPromoId, java.lang.Integer newLanguageId) 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 = ?)
public void setInitKey_languageId(java.lang.Integer newValue)
Set the primary key for this object
public void setInitKey_promoId(java.lang.Integer newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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 for this language.
public void setLongDesc(java.lang.String newValue)
public 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:
Foreign key to LANGUAGE table. For a list of language components, see the LANGUAGE table. This is a primary key.
public void setLanguageId(java.lang.Integer newValue)
public 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.
public void setFullImagePath(java.lang.String newValue)
public 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.
public void setThumbNailPath(java.lang.String newValue)
public 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 for this language.
public void setShortDesc(java.lang.String newValue)
public 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:
Foreign key to the CPPMN table. This is a primary key.
public void setPromoId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.