com.ibm.commerce.catalog.objects
Class CatalogGroupAttributeAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.CatalogGroupAttributeAccessBean
All Implemented Interfaces:
CatalogGroupAttributeAccessBeanData

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

This table holds descriptive attributes for CatalogGroups. These attributes are only used for descriptive purposes. This access bean corresponds to the database table 'CATGRPATTR'.

See Also:
Serialized Form

Constructor Summary
CatalogGroupAttributeAccessBean()
Zero argument constructor used to initialize the access bean.
CatalogGroupAttributeAccessBean(javax.ejb.EJBObject o)
constructor
CatalogGroupAttributeAccessBean(java.lang.Long catalogId, java.lang.Integer argLanguage_id)
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 findByCatalogGroup(java.lang.Long catalogGroupReferenceNumber, java.lang.Integer lauguage_id)
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).
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).
java.lang.String getSequence()
This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
java.lang.Double getSequenceInEJBType()
This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
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 setCatalogGroupReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_attributeReferenceNumber(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 setName(java.lang.String newValue)
This method accesses a non-CMP field
void setOid(java.lang.String newValue)
This method accesses a non-CMP field
void setSequence(java.lang.Double newValue)
This method accesses a non-CMP field
void setSequence(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

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.CatalogGroupAttribute com.ibm.commerce.catalog.objimpl.CatalogGroupAttributeHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CatalogGroupAttributeKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_language_id( java.lang.Integer ) setInitKey_attributeReferenceNumber( java.lang.Long )

CatalogGroupAttributeAccessBean

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

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean(java.lang.Long catalogId,
                                       java.lang.Integer argLanguage_id)
                                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:
catalogId - The attribute reference number. java.lang.Long
argLanguage_id - 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

findByCatalogGroup

public java.util.Enumeration findByCatalogGroup(java.lang.Long catalogGroupReferenceNumber,
                                                java.lang.Integer lauguage_id)
                                         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:
catalogGroupReferenceNumber - The catalog group ID. java.lang.Long
lauguage_id - 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

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_attributeReferenceNumber

public void setInitKey_attributeReferenceNumber(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

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

The following is a description of this column:

The description of this CatalogGroup Attribute.

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

setDescription

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

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 CatalogEntryGroup described by this Attribute.

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

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 CatalogEntryGroup described by this Attribute.

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

setCatalogGroupReferenceNumber

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

setCatalogGroupReferenceNumber

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

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

The following is a description of this column:

Reserved for IBM internal use.

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

setOid

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

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.

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSequence

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

setSequence

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

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 CatalogGroup Attribute.

Specified by:
getName in interface CatalogGroupAttributeAccessBeanData
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 accesses a non-CMP field
Specified by:
setName in interface CatalogGroupAttributeAccessBeanData

Feedback