com.ibm.commerce.catalog.objects
Class CatalogGroupCatalogEntryRelationAccessBean

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

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

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

Constructor Summary
CatalogGroupCatalogEntryRelationAccessBean()
          constructor
CatalogGroupCatalogEntryRelationAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogGroupCatalogEntryRelationAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogEntryId(java.lang.Long arg0)
          Finds the catalog group - catalog entry relations with the catalog entry ID.
 java.util.Enumeration findByCatalogEntryIdAndStore(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the record by catalog entry id and store id.
 java.util.Enumeration findByCatalogGroupId(java.lang.Long arg0)
          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.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getRule()
          This method provides access to the CATGPENREL.RULE column of DB2 type VARCHAR(254).
 java.lang.String getSequence()
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryId(java.lang.Long newValue)
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryId(java.lang.String newValue)
          This method provides access to the CATGPENREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.Long newValue)
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.String newValue)
          This method provides access to the CATGPENREL.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.Long newValue)
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String newValue)
          This method provides access to the CATGPENREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogEntryId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_catalogGroupId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_catalogId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the CATGPENREL.LASTUPDATE column of DB2 type TIMESTAMP.
 void setRule(java.lang.String newValue)
          This method provides access to the CATGPENREL.RULE column of DB2 type VARCHAR(254).
 void setSequence(java.lang.Double newValue)
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setSequence(java.lang.String newValue)
          This method provides access to the CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogGroupCatalogEntryRelationAccessBean

public CatalogGroupCatalogEntryRelationAccessBean()
constructor

CatalogGroupCatalogEntryRelationAccessBean

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

CatalogGroupCatalogEntryRelationAccessBean

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

findByCatalogEntryId

public java.util.Enumeration findByCatalogEntryId(java.lang.Long arg0)
                                           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 = aCatalogEntryId ORDER BY SEQUENCE

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 arg0)
                                           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 = aCatalogGroupId ORDER BY SEQUENCE

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

setInitKey_catalogEntryId

public void setInitKey_catalogEntryId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_catalogGroupId

public void setInitKey_catalogGroupId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_catalogId

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

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

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

setCatalogGroupId

public void setCatalogGroupId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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

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

setRule

public void setRule(java.lang.String newValue)

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

The following is a description of this column:

Reserved for IBM internal use.

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

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.

The following is a description of this column:

Indicates the last time that this relationship was updated.

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

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.

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

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

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

The following is a description of this column:

Indicates the last time that this relationship was updated.

Specified by:
setLastUpdate in interface CatalogGroupCatalogEntryRelationAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Indicates the last time that this relationship was updated.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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

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

setCatalogEntryId

public void setCatalogEntryId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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

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

setCatalogId

public void setCatalogId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setCatalogId

public void setCatalogId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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 DEFAULT 0.

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:
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 CATGPENREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

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

setSequence

public void setSequence(java.lang.String newValue)

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

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:
newValue - String
Returns:
void

setSequence

public void setSequence(java.lang.Double newValue)

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

The following is a description of this column:

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

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

findByCatalogEntryIdAndStore

public java.util.Enumeration findByCatalogEntryIdAndStore(java.lang.Long arg0,
                                                          java.lang.Integer arg1)
                                                   throws javax.naming.NamingException,
                                                          javax.ejb.FinderException,
                                                          java.rmi.RemoteException
Finds the record by catalog entry id and store id.
Returns:
The records which meet the criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException