|
||||||||
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.catalog.objects.CatalogGroupDescriptionAccessBean
This bean provides access to the CATGRPDESC table.
The following is a description of this table:
This table hold the language-dependent information related to a CatalogGroup.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CatalogGroupDescriptionAccessBean()
Default constructor. |
|
CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject catGrpDescEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
CatalogGroupDescriptionAccessBean(java.lang.Long catGrpRefNum,
java.lang.Integer langID,
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). |
java.util.Enumeration |
findByCatalogGroupIdsAndLanguageId(java.lang.Long[] aDByCatalogGroupIdsAndLanguageId,
java.lang.Integer aDByCatalogGroupIdsAndLanguageId)
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.String |
getDisplay()
This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getFullIImage()
This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getKeyWord()
This method provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getLongDescription()
This method provides access to the CATGRPDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
java.lang.String |
getMemberGroupId()
Gets the member group ID for the catalog group description. |
java.lang.Long |
getMemberGroupIdInEJBType()
Gets the member group ID for the catalog group description in the EJB type. |
java.lang.String |
getName()
This method provides access to the CATGRPDESC.NAME column of DB2 type VARCHAR(254) NOT NULL. |
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) NULL. |
java.lang.String |
getThumbNail()
This method provides access to the CATGRPDESC.THUMBNAIL column of DB2 type VARCHAR(254) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDisplay(java.lang.String display)
This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254) NULL. |
void |
setFullIImage(java.lang.String image)
This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_catalogGroupReferenceNumber(java.lang.String catGrpID)
Set the primary key for this object |
void |
setInitKey_language_id(java.lang.String langID)
Set the primary key for this object |
void |
setKeyWord(java.lang.String keyword)
This method provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254) NULL. |
void |
setLongDescription(java.lang.String longDesc)
This method provides access to the CATGRPDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
void |
setMemberGroupId(java.lang.Long mbrGrpID)
Sets the member group ID for the catalog group description. |
void |
setMemberGroupId(java.lang.String mbrGrpID)
Sets the member group ID for the catalog group description. |
void |
setName(java.lang.String name)
This method provides access to the CATGRPDESC.NAME column of DB2 type VARCHAR(254) NOT NULL. |
void |
setPublished(java.lang.Integer published)
This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL. |
void |
setPublished(java.lang.String published)
This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL. |
void |
setShortDescription(java.lang.String shortDesc)
This method provides access to the CATGRPDESC.SHORTDESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setThumbNail(java.lang.String thumbNail)
This method provides access to the CATGRPDESC.THUMBNAIL 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 CatalogGroupDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject catGrpDescEJBObj) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
catGrpDescEJBObj
- The catalog group description EJB object. javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic CatalogGroupDescriptionAccessBean(java.lang.Long catGrpRefNum, java.lang.Integer langID, 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.
catGrpRefNum
- The catalog group reference number. java.lang.LonglangID
- The language ID. java.lang.Integername
- The name. java.lang.Stringjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 java.util.Enumeration findByCatalogGroupIdsAndLanguageId(java.lang.Long[] aDByCatalogGroupIdsAndLanguageId, java.lang.Integer aDByCatalogGroupIdsAndLanguageId) 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 = langID
AND CATGROUP_ID IN (catGrpID)
catGrpID
- The catalog group reference number. java.lang.Long[]langID
- The language ID. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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))
locale
- The locale. java.lang.StringstoreID
- The store ID. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getDisplay
in interface CatalogGroupDescriptionAccessBeanData
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 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) NULL.
The following is a description of this column:
The full image path of this CatalogGroup.
getFullIImage
in interface CatalogGroupDescriptionAccessBeanData
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 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) NULL.
The following is a description of this column:
A keyword used for searching.
getKeyWord
in interface CatalogGroupDescriptionAccessBeanData
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 getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A long description of this CatalogGroup.
getLongDescription
in interface CatalogGroupDescriptionAccessBeanData
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 getMemberGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Gets the member group ID for the catalog group description.
getMemberGroupId
in interface CatalogGroupDescriptionAccessBeanData
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.Long getMemberGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Gets the member group ID for the catalog group description in the EJB type.
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 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.
getName
in interface CatalogGroupDescriptionAccessBeanData
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 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.
getPublished
in interface CatalogGroupDescriptionAccessBeanData
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 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.
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 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) NULL.
The following is a description of this column:
A short description of this CatalogGroup.
getShortDescription
in interface CatalogGroupDescriptionAccessBeanData
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 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) NULL.
The following is a description of this column:
The thumbnail image path of this CatalogGroup.
getThumbNail
in interface CatalogGroupDescriptionAccessBeanData
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 setDisplay(java.lang.String display)
This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setDisplay
in interface CatalogGroupDescriptionAccessBeanData
display
- The display. java.lang.Stringpublic void setFullIImage(java.lang.String image)
This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The full image path of this CatalogGroup.
setFullIImage
in interface CatalogGroupDescriptionAccessBeanData
image
- The image. java.lang.Stringpublic void setInitKey_catalogGroupReferenceNumber(java.lang.String catGrpID)
Set the primary key for this object
catGrpID
- The catalog group reference number. java.lang.Stringpublic void setInitKey_language_id(java.lang.String langID)
Set the primary key for this object
langID
- The language ID. java.lang.Stringpublic void setKeyWord(java.lang.String keyword)
This method provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A keyword used for searching.
setKeyWord
in interface CatalogGroupDescriptionAccessBeanData
keyword
- The keyword of the search. java.lang.Stringpublic void setLongDescription(java.lang.String longDesc)
This method provides access to the CATGRPDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A long description of this CatalogGroup.
setLongDescription
in interface CatalogGroupDescriptionAccessBeanData
longDesc
- The long description. java.lang.Stringpublic void setMemberGroupId(java.lang.Long mbrGrpID)
Sets the member group ID for the catalog group description.
mbrGrpID
- The member group ID. java.lang.Longpublic void setMemberGroupId(java.lang.String mbrGrpID)
Sets the member group ID for the catalog group description.
setMemberGroupId
in interface CatalogGroupDescriptionAccessBeanData
mbrGrpID
- The member group ID. java.lang.Stringpublic void setName(java.lang.String name)
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.
setName
in interface CatalogGroupDescriptionAccessBeanData
name
- The name. java.lang.Stringpublic void setPublished(java.lang.Integer published)
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.
published
- The published flag. java.lang.Integerpublic void setPublished(java.lang.String published)
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.
setPublished
in interface CatalogGroupDescriptionAccessBeanData
published
- The published flag. java.lang.Stringpublic void setShortDescription(java.lang.String shortDesc)
This method provides access to the CATGRPDESC.SHORTDESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A short description of this CatalogGroup.
setShortDescription
in interface CatalogGroupDescriptionAccessBeanData
shortDesc
- The short description. java.lang.Stringpublic void setThumbNail(java.lang.String thumbNail)
This method provides access to the CATGRPDESC.THUMBNAIL column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The thumbnail image path of this CatalogGroup.
setThumbNail
in interface CatalogGroupDescriptionAccessBeanData
thumbNail
- The thumbnail image. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |