com.ibm.commerce.catalog.objects
Class CatalogCatalogGroupRelationAccessBean

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

public class CatalogCatalogGroupRelationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogCatalogGroupRelationAccessBeanData

This bean provides access to the CATTOGRP table.

The following is a description of this table:

This table identifies the root CatalogGroups (or root Categories) contained within a Catalog.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogCatalogGroupRelationAccessBean()
          Default constructor.
CatalogCatalogGroupRelationAccessBean(javax.ejb.EJBObject catCatGrpRelEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogCatalogGroupRelationAccessBean(java.lang.Long catGrpID, java.lang.Long catalogID)
          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 findByCatalogGroupId(java.lang.Long catGrpID)
          Finds the catalog - catalog group relations with the catalog group ID.
 java.util.Enumeration findByCatalogId(java.lang.Long catalogID)
          Finds the catalog - catalog group relations with the catalog ID.
 java.lang.String getCatalogGroupReferenceNumber()
          This method provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupReferenceNumberInEJBType()
          This method provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogReferenceNumber()
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogReferenceNumberInEJBType()
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getSequence()
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE NULL.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupReferenceNumber(java.lang.Long catGrpID)
          This method provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupReferenceNumber(java.lang.String catGrpID)
          This method provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogReferenceNumber(java.lang.Long catalogID)
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogReferenceNumber(java.lang.String catalogID)
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogGroupReferenceNumber(java.lang.String catGrpID)
          Set the primary key for this object
 void setInitKey_catalogReferenceNumber(java.lang.String catalogID)
          Set the primary key for this object
 void setLastUpdate(java.lang.String lastUpdate)
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp lastUpdate)
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setSequence(java.lang.Double sequence)
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE NULL.
 void setSequence(java.lang.String sequence)
          This method provides access to the CATTOGRP.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

CatalogCatalogGroupRelationAccessBean

public CatalogCatalogGroupRelationAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogCatalogGroupRelationAccessBean

public CatalogCatalogGroupRelationAccessBean(javax.ejb.EJBObject catCatGrpRelEJBObj)
                                      throws java.rmi.RemoteException

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

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

CatalogCatalogGroupRelationAccessBean

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

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog - catalog group relation according to the catalog group ID and catalog ID.

Parameters:
catGrpID - The catalog group reference number. java.lang.Long
catalogID - The catalog reference number. java.lang.Long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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

findByCatalogGroupId

public java.util.Enumeration findByCatalogGroupId(java.lang.Long catGrpID)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Finds the catalog - catalog group relations with the catalog group ID.

SQL:
SELECT LASTUPDATE, CATGROUP_ID, CATALOG_ID, SEQUENCE FROM CATTOGRP WHERE CATGROUP_ID = catGrpID

Parameters:
catGrpID - The catalog group ID. java.lang.Long
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

findByCatalogId

public java.util.Enumeration findByCatalogId(java.lang.Long catalogID)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Finds the catalog - catalog group relations with the catalog ID.

SQL:
SELECT LASTUPDATE, CATGROUP_ID, CATALOG_ID, SEQUENCE FROM CATTOGRP WHERE CATALOG_ID = catalogID ORDER BY SEQUENCE

Parameters:
catalogID - The catalog ID. java.lang.Long
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 CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogGroup.

Specified by:
getCatalogGroupReferenceNumber in interface CatalogCatalogGroupRelationAccessBeanData
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 CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogGroup.

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

getCatalogReferenceNumber

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

This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog.

Specified by:
getCatalogReferenceNumber in interface CatalogCatalogGroupRelationAccessBeanData
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

getCatalogReferenceNumberInEJBType

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

This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog.

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

getLastUpdate

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

This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The last time that this relationship was updated.

Specified by:
getLastUpdate in interface CatalogCatalogGroupRelationAccessBeanData
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

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The last time that this relationship was updated.

Returns:
java.sql.Timestamp
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 CATTOGRP.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number used to determine display order.

Specified by:
getSequence in interface CatalogCatalogGroupRelationAccessBeanData
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 CATTOGRP.SEQUENCE column of DB2 type DOUBLE NULL.

The following is a description of this column:

The sequence number used to determine 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 catGrpID)

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

The following is a description of this column:

The reference number of the CatalogGroup.

Parameters:
catGrpID - The catalog group reference number. java.lang.Long
Returns:
void

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.String catGrpID)

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

The following is a description of this column:

The reference number of the CatalogGroup.

Specified by:
setCatalogGroupReferenceNumber in interface CatalogCatalogGroupRelationAccessBeanData
Parameters:
catGrpID - The catalog group reference number. java.lang.String
Returns:
void

setCatalogReferenceNumber

public void setCatalogReferenceNumber(java.lang.Long catalogID)

This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog.

Parameters:
catalogID - The catalog reference number. java.lang.Long
Returns:
void

setCatalogReferenceNumber

public void setCatalogReferenceNumber(java.lang.String catalogID)

This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog.

Specified by:
setCatalogReferenceNumber in interface CatalogCatalogGroupRelationAccessBeanData
Parameters:
catalogID - The catalog reference number. java.lang.String
Returns:
void

setInitKey_catalogGroupReferenceNumber

public void setInitKey_catalogGroupReferenceNumber(java.lang.String catGrpID)

Set the primary key for this object

Parameters:
catGrpID - The catalog group reference number. java.lang.String
Returns:
void

setInitKey_catalogReferenceNumber

public void setInitKey_catalogReferenceNumber(java.lang.String catalogID)

Set the primary key for this object

Parameters:
catalogID - The catalog reference number. java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.lang.String lastUpdate)

This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The last time that this relationship was updated.

Specified by:
setLastUpdate in interface CatalogCatalogGroupRelationAccessBeanData
Parameters:
lastUpdate - The last update time stamp. java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp lastUpdate)

This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The last time that this relationship was updated.

Parameters:
lastUpdate - The last update time stamp. java.sql.Timestamp
Returns:
void

setSequence

public void setSequence(java.lang.Double sequence)

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

The following is a description of this column:

The sequence number used to determine display order.

Parameters:
sequence - The sequence number. java.lang.Double
Returns:
void

setSequence

public void setSequence(java.lang.String sequence)

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

The following is a description of this column:

The sequence number used to determine display order.

Specified by:
setSequence in interface CatalogCatalogGroupRelationAccessBeanData
Parameters:
sequence - The sequence number. java.lang.String
Returns:
void