com.ibm.commerce.catalog.objects
Class CatalogGroupDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.CatalogGroupDescriptionAccessBean
All Implemented Interfaces:
CatalogGroupDescriptionAccessBeanData

public class CatalogGroupDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupDescriptionAccessBeanData

This table hold the language-dependent information related to a CatalogGroup.

See Also:
Serialized Form

Constructor Summary
CatalogGroupDescriptionAccessBean()
          constructor
CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogGroupDescriptionAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogGroupIdsAndLanguageId(java.lang.Long[] arg0, java.lang.Integer arg1)
          Finds the catalog group description with the catalog group IDs and the language ID.
 java.util.Enumeration findByLocaleAndStore(java.lang.String arg0, java.lang.Integer arg1)
          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)
          setCatalogGroupReferenceNumber
 void setDisplay(java.lang.String newValue)
          This method provides access to the CATGRPDESC.DISPLAY column of DB2 type VARCHAR(254).
 void setFullIImage(java.lang.String newValue)
          This method provides access to the CATGRPDESC.FULLIMAGE column of DB2 type VARCHAR(254).
 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 provides access to the CATGRPDESC.KEYWORD column of DB2 type VARCHAR(254).
 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 provides access to the CATGRPDESC.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setNote(java.lang.String newValue)
          This method accesses a non-CMP field
 void setPublished(java.lang.Integer newValue)
          This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL.
 void setPublished(java.lang.String newValue)
          This method provides access to the CATGRPDESC.PUBLISHED column of DB2 type INTEGER NOT NULL.
 void setShortDescription(java.lang.String newValue)
          This method provides access to the CATGRPDESC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).
 void setThumbNail(java.lang.String newValue)
          This method provides access to the CATGRPDESC.THUMBNAIL 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

CatalogGroupDescriptionAccessBean

public CatalogGroupDescriptionAccessBean()
constructor

CatalogGroupDescriptionAccessBean

public CatalogGroupDescriptionAccessBean(javax.ejb.EJBObject o)
                                  throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CatalogGroupDescriptionAccessBean

public CatalogGroupDescriptionAccessBean(java.lang.Long arg0,
                                         java.lang.Integer arg1,
                                         java.lang.String arg2)
                                  throws javax.ejb.CreateException,
                                         java.rmi.RemoteException,
                                         javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail

findByCatalogGroupIdsAndLanguageId

public java.util.Enumeration findByCatalogGroupIdsAndLanguageId(java.lang.Long[] arg0,
                                                                java.lang.Integer arg1)
                                                         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)

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByLocaleAndStore

public java.util.Enumeration findByLocaleAndStore(java.lang.String arg0,
                                                  java.lang.Integer arg1)
                                           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))

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_language_id

public void setInitKey_language_id(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_catalogGroupReferenceNumber

public void setInitKey_catalogGroupReferenceNumber(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getKeyWord

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.

Specified by:
getKeyWord in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setKeyWord

public void setKeyWord(java.lang.String newValue)

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.

Specified by:
setKeyWord in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getFullIImage

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.

Specified by:
getFullIImage in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFullIImage

public void setFullIImage(java.lang.String newValue)

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.

Specified by:
setFullIImage in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getPublished

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.

Specified by:
getPublished in interface CatalogGroupDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPublishedInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPublished

public void setPublished(java.lang.String newValue)

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.

Specified by:
setPublished in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setPublished

public void setPublished(java.lang.Integer newValue)

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.

Parameters:
newValue - java.lang.Integer
Returns:
void

getMemberGroupId

public java.lang.String getMemberGroupId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getMemberGroupId in interface CatalogGroupDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberGroupIdInEJBType

public java.lang.Long getMemberGroupIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberGroupId

public void setMemberGroupId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberGroupId in interface CatalogGroupDescriptionAccessBeanData

setMemberGroupId

public void setMemberGroupId(java.lang.Long newValue)
This method accesses a non-CMP field

getDisplay

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.

Specified by:
getDisplay in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDisplay

public void setDisplay(java.lang.String newValue)

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.

Specified by:
setDisplay in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getLongDescription

public java.lang.String getLongDescription()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getLongDescription in interface CatalogGroupDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLongDescription

public void setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLongDescription in interface CatalogGroupDescriptionAccessBeanData

getThumbNail

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.

Specified by:
getThumbNail in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setThumbNail

public void setThumbNail(java.lang.String newValue)

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.

Specified by:
setThumbNail in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getShortDescription

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.

Specified by:
getShortDescription in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShortDescription

public void setShortDescription(java.lang.String newValue)

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.

Specified by:
setShortDescription in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getName

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.

Specified by:
getName in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)

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.

Specified by:
setName in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getCatalogGroupReferenceNumber

public java.lang.Long getCatalogGroupReferenceNumber()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
getCatalogGroupReferenceNumber
Specified by:
getCatalogGroupReferenceNumber in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.Long newValue)
setCatalogGroupReferenceNumber

This method provides access to the CATGRPDESC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number that indicates the CatalogGroup that this language specific information relates to.

Specified by:
setCatalogGroupReferenceNumber in interface CatalogGroupDescriptionAccessBeanData
Parameters:
newValue - java.lang.Long
Returns:
void

getNote

public java.lang.String getNote()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
getNote
Specified by:
getNote in interface CatalogGroupDescriptionAccessBeanData
Returns:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNote

public void setNote(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNote in interface CatalogGroupDescriptionAccessBeanData