com.ibm.commerce.catalog.objects
Class CatalogCatalogGroupRelationAccessBean

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

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

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

See Also:
Serialized Form

Constructor Summary
CatalogCatalogGroupRelationAccessBean()
          constructor
CatalogCatalogGroupRelationAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogCatalogGroupRelationAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogGroupId(java.lang.Long arg0)
          Finds the catalog - catalog group relations with the catalog group ID.
 java.util.Enumeration findByCatalogGroupIdAndStore(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the records by the catalog group id and store id.
 java.util.Enumeration findByCatalogId(java.lang.Long arg0)
          Finds the catalog - catalog group relations with the catalog ID.
 java.util.Enumeration findByCatalogIdAndStore(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the records by the catalog id and store 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.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getSequence()
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATTOGRP.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 provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupReferenceNumber(java.lang.String newValue)
          This method provides access to the CATTOGRP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogReferenceNumber(java.lang.Long newValue)
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogReferenceNumber(java.lang.String newValue)
          This method provides access to the CATTOGRP.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogGroupReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_catalogReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the CATTOGRP.LASTUPDATE column of DB2 type TIMESTAMP.
 void setSequence(java.lang.Double newValue)
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE.
 void setSequence(java.lang.String newValue)
          This method provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogCatalogGroupRelationAccessBean

public CatalogCatalogGroupRelationAccessBean()
constructor

CatalogCatalogGroupRelationAccessBean

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

CatalogCatalogGroupRelationAccessBean

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

findByCatalogGroupId

public java.util.Enumeration findByCatalogGroupId(java.lang.Long arg0)
                                           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 = argCatalogGroupId

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogId

public java.util.Enumeration findByCatalogId(java.lang.Long arg0)
                                      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 = argCatalogId 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

setInitKey_catalogGroupReferenceNumber

public void setInitKey_catalogGroupReferenceNumber(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_catalogReferenceNumber

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

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.

The following is a description of this column:

The last time that this relationship was updated.

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

The following is a description of this column:

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

The following is a description of this column:

The last time that this relationship was updated.

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

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

The last time that this relationship was updated.

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

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

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.String newValue)

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

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.Long newValue)

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

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

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

setCatalogReferenceNumber

public void setCatalogReferenceNumber(java.lang.String newValue)

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

setCatalogReferenceNumber

public void setCatalogReferenceNumber(java.lang.Long newValue)

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:
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 CATTOGRP.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number used to determine display order.

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

The following is a description of this column:

The sequence number used to determine 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 provides access to the CATTOGRP.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number used to determine display order.

Specified by:
setSequence in interface CatalogCatalogGroupRelationAccessBeanData
Parameters:
newValue - String
Returns:
void

setSequence

public void setSequence(java.lang.Double newValue)

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

The following is a description of this column:

The sequence number used to determine display order.

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

findByCatalogGroupIdAndStore

public java.util.Enumeration findByCatalogGroupIdAndStore(java.lang.Long arg0,
                                                          java.lang.Integer arg1)
                                                   throws javax.naming.NamingException,
                                                          javax.ejb.FinderException,
                                                          java.rmi.RemoteException
Finds the records by the catalog group id and store id.
Returns:
The records which meets the search criteria.
Throws:
java.rmi.RemoteException - The exception description.
javax.ejb.FinderException - The exception description.
javax.naming.NamingException

findByCatalogIdAndStore

public java.util.Enumeration findByCatalogIdAndStore(java.lang.Long arg0,
                                                     java.lang.Integer arg1)
                                              throws javax.naming.NamingException,
                                                     javax.ejb.FinderException,
                                                     java.rmi.RemoteException
Finds the records by the catalog id and store id.
Returns:
The records which meets the search criteria.
Throws:
java.rmi.RemoteException - The exception description.
javax.ejb.FinderException - The exception description.
javax.naming.NamingException