com.ibm.commerce.catalog.objects
Class CatalogGroupCatalogEntryRelationAccessBean

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

public class CatalogGroupCatalogEntryRelationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupCatalogEntryRelationAccessBeanData

This bean provides access to the CATGPENREL table.

The following is a description of this table:

This table relates CatalogGroups (or Categories) to the CatalogEntries that are inside them. You can also use this table to dictate the navigational flow from CatalogGroups to CatalogEntries. Each relationship is also qualified by a Catalog ID.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogGroupCatalogEntryRelationAccessBean()
          Default constructor.
CatalogGroupCatalogEntryRelationAccessBean(javax.ejb.EJBObject catGrpCatEntryRelEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CatalogGroupCatalogEntryRelationAccessBean(java.lang.Long catalogID, java.lang.Long catGrpID, java.lang.Long catEntryID)
          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 findByCatalogEntryId(java.lang.Long catEntryID)
          Finds the catalog group - catalog entry relations with the catalog entry ID.
 java.util.Enumeration findByCatalogGroupId(java.lang.Long catGrpID)
          Finds the catalog group - catalog entry with catalog group ID.
 java.lang.String getCatalogEntryId()
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogEntryIdInEJBType()
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogGroupId()
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupIdInEJBType()
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogId()
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogIdInEJBType()
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getRule()
          This method provides access to the CATGPENREL.RULE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getSequence()
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryId(java.lang.Long catEntryID)
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryId(java.lang.String catEntryID)
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.Long catGrpID)
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.String catGrpID)
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.Long catalogID)
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String catalogID)
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogEntryId(java.lang.String catEntryID)
          Set the primary key for this object
 void setInitKey_catalogGroupId(java.lang.String catGrpID)
          Set the primary key for this object
 void setInitKey_catalogId(java.lang.String catalogID)
          Set the primary key for this object
 void setLastUpdate(java.lang.String lastUpdate)
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp lastUpdate)
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setRule(java.lang.String rule)
          This method provides access to the CATGPENREL.RULE column of DB2 type VARCHAR(254) NULL.
 void setSequence(java.lang.Double sequence)
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setSequence(java.lang.String sequence)
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT 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

CatalogGroupCatalogEntryRelationAccessBean

public CatalogGroupCatalogEntryRelationAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogGroupCatalogEntryRelationAccessBean

public CatalogGroupCatalogEntryRelationAccessBean(javax.ejb.EJBObject catGrpCatEntryRelEJBObj)
                                           throws java.rmi.RemoteException

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

Parameters:
catGrpCatEntryRelEJBObj - The catalog group - catalog entry relation EJB Object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogGroupCatalogEntryRelationAccessBean

public CatalogGroupCatalogEntryRelationAccessBean(java.lang.Long catalogID,
                                                  java.lang.Long catGrpID,
                                                  java.lang.Long catEntryID)
                                           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 group - catalog entry relation according to the catalog ID, catalog group ID, and catalog entry ID.

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

findByCatalogEntryId

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

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

SQL:
SELECT CATGROUP_ID, CATALOG_ID, RULE, SEQUENCE, CATENTRY_ID, LASTUPDATE FROM CATGPENREL WHERE CATENTRY_ID = catEntryID ORDER BY SEQUENCE

Parameters:
catEntryID - The catalog entry 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

findByCatalogGroupId

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

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

SQL:
SELECT CATGROUP_ID, CATALOG_ID, RULE, SEQUENCE, CATENTRY_ID, LASTUPDATE FROM CATGPENREL WHERE CATGROUP_ID = catGrpID ORDER BY SEQUENCE

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

getCatalogEntryId

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

This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The target CatalogEntry of this relationship.

Specified by:
getCatalogEntryId in interface CatalogGroupCatalogEntryRelationAccessBeanData
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

getCatalogEntryIdInEJBType

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

This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The target CatalogEntry of this relationship.

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

getCatalogGroupId

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

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

The following is a description of this column:

The source CatalogGroup of this relationship.

Specified by:
getCatalogGroupId in interface CatalogGroupCatalogEntryRelationAccessBeanData
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

getCatalogGroupIdInEJBType

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

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

The following is a description of this column:

The source CatalogGroup of this relationship.

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

getCatalogId

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

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

The following is a description of this column:

The Catalog inside of which this relationship is found.

Specified by:
getCatalogId in interface CatalogGroupCatalogEntryRelationAccessBeanData
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

getCatalogIdInEJBType

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

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

The following is a description of this column:

The Catalog inside of which this relationship is found.

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 CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Indicates the last time that this relationship was updated.

Specified by:
getLastUpdate in interface CatalogGroupCatalogEntryRelationAccessBeanData
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 CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Indicates 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

getRule

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

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getRule in interface CatalogGroupCatalogEntryRelationAccessBeanData
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 CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number that determines the display order of the contents of the CatalogGroup.

Specified by:
getSequence in interface CatalogGroupCatalogEntryRelationAccessBeanData
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 CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number that determines the display order of the contents of the CatalogGroup.

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

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long catEntryID)

This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The target CatalogEntry of this relationship.

Parameters:
catEntryID - The catalog entry ID. java.lang.Long
Returns:
void

setCatalogEntryId

public void setCatalogEntryId(java.lang.String catEntryID)

This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The target CatalogEntry of this relationship.

Specified by:
setCatalogEntryId in interface CatalogGroupCatalogEntryRelationAccessBeanData
Parameters:
catEntryID - The catalog entry ID. java.lang.String
Returns:
void

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long catGrpID)

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

The following is a description of this column:

The source CatalogGroup of this relationship.

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

setCatalogGroupId

public void setCatalogGroupId(java.lang.String catGrpID)

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

The following is a description of this column:

The source CatalogGroup of this relationship.

Specified by:
setCatalogGroupId in interface CatalogGroupCatalogEntryRelationAccessBeanData
Parameters:
catGrpID - The catalog group ID. java.lang.String
Returns:
void

setCatalogId

public void setCatalogId(java.lang.Long catalogID)

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

The following is a description of this column:

The Catalog inside of which this relationship is found.

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

setCatalogId

public void setCatalogId(java.lang.String catalogID)

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

The following is a description of this column:

The Catalog inside of which this relationship is found.

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

setInitKey_catalogEntryId

public void setInitKey_catalogEntryId(java.lang.String catEntryID)

Set the primary key for this object

Parameters:
catEntryID - The catalog entry ID. java.lang.String
Returns:
void

setInitKey_catalogGroupId

public void setInitKey_catalogGroupId(java.lang.String catGrpID)

Set the primary key for this object

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

setInitKey_catalogId

public void setInitKey_catalogId(java.lang.String catalogID)

Set the primary key for this object

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

setLastUpdate

public void setLastUpdate(java.lang.String lastUpdate)

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

The following is a description of this column:

Indicates the last time that this relationship was updated.

Specified by:
setLastUpdate in interface CatalogGroupCatalogEntryRelationAccessBeanData
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 CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Indicates the last time that this relationship was updated.

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

setRule

public void setRule(java.lang.String rule)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setRule in interface CatalogGroupCatalogEntryRelationAccessBeanData
Parameters:
rule - The rule. java.lang.String
Returns:
void

setSequence

public void setSequence(java.lang.Double sequence)

This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number that determines the display order of the contents of the CatalogGroup.

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

setSequence

public void setSequence(java.lang.String sequence)

This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number that determines the display order of the contents of the CatalogGroup.

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