com.ibm.commerce.catalog.objects
Class CatalogGroupAttributeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.CatalogGroupAttributeAccessBean
All Implemented Interfaces:
CatalogGroupAttributeAccessBeanData, java.io.Serializable

public class CatalogGroupAttributeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupAttributeAccessBeanData

This bean provides access to the CATGRPATTR table.

The following is a description of this table:

This table holds descriptive Attributes for Catalog Groups. These Attributes are only used for descriptive purposes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogGroupAttributeAccessBean()
          Default constructor.
CatalogGroupAttributeAccessBean(javax.ejb.EJBObject catGrpAttrEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogGroupAttributeAccessBean(java.lang.Long attributeRefNum, java.lang.Integer languageID)
          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 findByCatalogGroup(java.lang.Long anCatGrpID, java.lang.Integer anLanguageID)
          Finds the catalog group attribute with the attribute reference number and language.
 java.lang.String getCatalogGroupReferenceNumber()
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupReferenceNumberInEJBType()
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getName()
          This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getOid()
          This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32) NULL.
 java.lang.String getSequence()
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupReferenceNumber(java.lang.Long anCatalogGroupReferenceNumber)
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupReferenceNumber(java.lang.String astrCatalogGroupReferenceNumber)
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setDescription(java.lang.String astrDescription)
          This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_attributeReferenceNumber(java.lang.String aInitKey_attributeReferenceNumber)
          Set the primary key for this object
 void setInitKey_language_id(java.lang.String aInitKey_language_id)
          Set the primary key for this object
 void setName(java.lang.String astrName)
          This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setOid(java.lang.String astrOid)
          This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32) NULL.
 void setSequence(java.lang.Double adSequence)
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.
 void setSequence(java.lang.String astrSequence)
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE 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

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean(javax.ejb.EJBObject catGrpAttrEJBObj)
                                throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
catGrpAttrEJBObj - The catalog group attribute EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean(java.lang.Long attributeRefNum,
                                       java.lang.Integer languageID)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog group attribute according to the attribute reference number and language ID.

Parameters:
attributeRefNum - The attribute reference number. java.lang.Long
languageID - The language ID. java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByCatalogGroup

public java.util.Enumeration findByCatalogGroup(java.lang.Long anCatGrpID,
                                                java.lang.Integer anLanguageID)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Finds the catalog group attribute with the attribute reference number and language.

SQL:
SELECT DESCRIPTION, CATGRPATTR_ID, OID, LANGUAGE_ID, NAME, CATGROUP_ID, SEQUENCE FROM CATGRPATTR WHERE CATGROUP_ID = catGrpID AND LANGUAGE_ID = languageID

Parameters:
anCatGrpID - The catalog group ID. java.lang.Long
anLanguageID - The language ID. java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCatalogGroupReferenceNumber

public java.lang.String getCatalogGroupReferenceNumber()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

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

The following is a description of this column:

The reference number of the Catalog Group described by this Attribute.

Specified by:
getCatalogGroupReferenceNumber in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCatalogGroupReferenceNumberInEJBType

public java.lang.Long getCatalogGroupReferenceNumberInEJBType()
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.CreateException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

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

The following is a description of this column:

The Catalog Group reference number described by this Attribute.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description of this Catalog Group Attribute.

Specified by:
getDescription in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this Catalog Group Attribute.

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

getOid

public java.lang.String getOid()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32) NULL.

The following is a description of this column:

The Object Identifier. Reserved for IBM internal use.

Specified by:
getOid in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSequence

public java.lang.String getSequence()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number that is used to determine the display order.

Specified by:
getSequence in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSequenceInEJBType

public java.lang.Double getSequenceInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number that is used to determine the display order.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.Long anCatalogGroupReferenceNumber)

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

The following is a description of this column:

The reference number of the Catalog Group described by this Attribute.

Parameters:
anCatalogGroupReferenceNumber - java.lang.Long
Returns:
void

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.String astrCatalogGroupReferenceNumber)

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

The following is a description of this column:

The CatalogEntryGroup described by this Attribute.

Specified by:
setCatalogGroupReferenceNumber in interface CatalogGroupAttributeAccessBeanData
Parameters:
astrCatalogGroupReferenceNumber - The Catalog Group reference number. java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String astrDescription)

This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description of this Catalog Group Attribute.

Specified by:
setDescription in interface CatalogGroupAttributeAccessBeanData
Parameters:
astrDescription - This description of the Catalog Group Attribute. java.lang.String
Returns:
void

setInitKey_attributeReferenceNumber

public void setInitKey_attributeReferenceNumber(java.lang.String aInitKey_attributeReferenceNumber)

Set the primary key for this object

Parameters:
aInitKey_attributeReferenceNumber - The Catalog Group Attribute reference number. java.lang.String
Returns:
void

setInitKey_language_id

public void setInitKey_language_id(java.lang.String aInitKey_language_id)

Set the primary key for this object

Parameters:
aInitKey_language_id - The Language reference number. java.lang.String
Returns:
void

setName

public void setName(java.lang.String astrName)

This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this Catalog Group Attribute.

Specified by:
setName in interface CatalogGroupAttributeAccessBeanData
Parameters:
astrName - The language dependent name of this Catalog Group Attribute. java.lang.String
Returns:
void

setOid

public void setOid(java.lang.String astrOid)

This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32) NULL.

The following is a description of this column:

The Object Identifier. Reserved for IBM internal use.

Specified by:
setOid in interface CatalogGroupAttributeAccessBeanData
Parameters:
astrOid - The Object Identifier. java.lang.String
Returns:
void

setSequence

public void setSequence(java.lang.Double adSequence)

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number that is used to determine the display order.

Parameters:
adSequence - The sequence of this Catalog Group Attribute. java.lang.Double
Returns:
void

setSequence

public void setSequence(java.lang.String astrSequence)

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number that is used to determine the display order.

Specified by:
setSequence in interface CatalogGroupAttributeAccessBeanData
Parameters:
astrSequence - The sequence number of the Catalog Group Attribute. java.lang.String
Returns:
void