java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.CatalogGroupDescriptionAccessBean
This table holds the language-dependent information related to a CatalogGroup. This access bean corresponds to the database table 'CATGRPDESC'.
Constructor Summary | |
CatalogGroupDescriptionAccessBean() Zero argument constructor used to initialize the access bean. |
|
CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject o) constructor |
|
CatalogGroupDescriptionAccessBean(java.lang.Long argCatalogGroupReferenceNumber, java.lang.Integer language_id, java.lang.String name) Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCatalogGroupIdsAndLanguageId(java.lang.Long[] arCatalogGroupIds, java.lang.Integer nLanguageId) Finds the catalog group description with the catalog group IDs and the language ID. |
java.util.Enumeration | findByLocaleAndStore(java.lang.String locale, java.lang.Integer storeId) Finds the catalog group description with the locale and the store ID. |
java.lang.Long | getCatalogGroupReferenceNumber() getCatalogGroupReferenceNumber |
java.lang.String | getDisplay() This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254). |
java.lang.String | getFullIImage() This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254). |
java.lang.String | getKeyWord() This method provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254). |
java.lang.String | getLongDescription() This method accesses a non-CMP field |
java.lang.String | getMemberGroupId() This method accesses a non-CMP field |
java.lang.Long | getMemberGroupIdInEJBType() This method accesses a non-CMP field |
java.lang.String | getName() This method provides access to the CATGRPDESC.NAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getNote() getNote |
java.lang.String | getPublished() This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getPublishedInEJBType() This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL. |
java.lang.String | getShortDescription() This method provides access to the CATGRPDESC.SHORTDESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getThumbNail() This method provides access to the CATGRPDESC.THUMBNAIL column of DB2 type VARCHAR(254). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCatalogGroupReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setDisplay(java.lang.String newValue) This method accesses a non-CMP field |
void | setFullIImage(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_catalogGroupReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_language_id(java.lang.String newValue) Set the primary key for this object |
void | setKeyWord(java.lang.String newValue) This method accesses a non-CMP field |
void | setLongDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setMemberGroupId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberGroupId(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setNote(java.lang.String newValue) This method accesses a non-CMP field |
void | setPublished(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setPublished(java.lang.String newValue) This method accesses a non-CMP field |
void | setShortDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setThumbNail(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 CatalogGroupDescriptionAccessBean()
public CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CatalogGroupDescriptionAccessBean(java.lang.Long argCatalogGroupReferenceNumber, java.lang.Integer language_id, java.lang.String name) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog group description according to the catalog group ID, the language ID, and the name.
Method Detail |
public java.util.Enumeration findByCatalogGroupIdsAndLanguageId(java.lang.Long[] arCatalogGroupIds, java.lang.Integer nLanguageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog group description with the catalog group IDs and the language ID.
SQL:
SELECT FULLIMAGE, KEYWORD, DISPLAY, LANGUAGE_ID, SHORTDESCRIPTION, CATGROUP_ID, PUBLISHED, NAME, THUMBNAIL FROM CATGRPDESC WHERE LANGUAGE_ID = nLanguageId AND CATGROUP_ID IN (arCatalogGroupIds)
public java.util.Enumeration findByLocaleAndStore(java.lang.String locale, java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog group description with the locale and the store ID.
SQL:
SELECT CATGRPDESC.FULLIMAGE, CATGRPDESC.KEYWORD, CATGRPDESC.DISPLAY, CATGRPDESC.LANGUAGE_ID, CATGRPDESC.SHORTDESCRIPTION, CATGRPDESC.CATGROUP_ID, CATGRPDESC.PUBLISHED, CATGRPDESC.NAME, CATGRPDESC.THUMBNAIL FROM CATGRPDESC WHERE CATGRPDESC.PUBLISHED = 1 AND CATGRPDESC.LANGUAGE_ID in (select LANGUAGE_ID from language where localename = locale AND CATGRPDESC.CATGROUP_ID in (select CATGROUP_ID FROM CATENTRY CATENTRY, STORECENT STORECENT, CATGPENREL CATGPENREL where STORECENT.STOREENT_ID = storeId AND ( CATENTRY.CATENTTYPE_ID LIKE 'ProductBean%' OR (CATENTRY.CATENTTYPE_ID LIKE 'ItemBean%' AND CATENTRY.CATENTRY_ID NOT IN (SELECT CATENTRY_ID FROM ATTRIBUTE))) AND CATENTRY.BUYABLE = 1 AND STORECENT.CATENTRY_ID = CATENTRY.CATENTRY_ID AND CATGPENREL.CATENTRY_ID = STORECENT.CATENTRY_ID))
public void setInitKey_language_id(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_catalogGroupReferenceNumber(java.lang.String 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 getKeyWord() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254).
The following is a description of this column:
A keyword used for searching.
public void setKeyWord(java.lang.String newValue)
public java.lang.String getFullIImage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254).
The following is a description of this column:
The full image path of this CatalogGroup.
public void setFullIImage(java.lang.String newValue)
public java.lang.String getPublished() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates whether this CatalogGroup should be displayed for the language indicated by LANGUAGE_ID: 0=no, 1=yes.
public java.lang.Integer getPublishedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates whether this CatalogGroup should be displayed for the language indicated by LANGUAGE_ID: 0=no, 1=yes.
public void setPublished(java.lang.String newValue)
public void setPublished(java.lang.Integer newValue)
public java.lang.String getMemberGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getMemberGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberGroupId(java.lang.String newValue)
public void setMemberGroupId(java.lang.Long newValue)
public java.lang.String getDisplay() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254).
The following is a description of this column:
Reserved for IBM internal use.
public void setDisplay(java.lang.String newValue)
public java.lang.String getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLongDescription(java.lang.String newValue)
public java.lang.String getThumbNail() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.THUMBNAIL column of DB2 type VARCHAR(254).
The following is a description of this column:
The thumbnail image path of this CatalogGroup.
public void setThumbNail(java.lang.String newValue)
public java.lang.String getShortDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A short description of this CatalogGroup.
public void setShortDescription(java.lang.String newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The language-dependent name of this CatalogGroup.
public void setName(java.lang.String newValue)
public java.lang.Long getCatalogGroupReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCatalogGroupReferenceNumber(java.lang.Long newValue)
public java.lang.String getNote() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setNote(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.