com.ibm.commerce.catalog.objects
Class CatalogGroupProductSetRelAccessBean

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

public class CatalogGroupProductSetRelAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupProductSetRelAccessBeanData

This table relates CatalogGroups to ProductSets. Every CatalogEntry under the Catalog sub-tree for this CatalogGroup is a member of the specified ProductSet.

See Also:
Serialized Form

Constructor Summary
CatalogGroupProductSetRelAccessBean()
          constructor
CatalogGroupProductSetRelAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogGroupProductSetRelAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Integer arg2)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogIdAndCatGroupId(java.lang.Long arg0, java.lang.Long arg1)
          This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog ID and Catalog Group ID.
 java.util.Enumeration findByCatGroupId(java.lang.Long arg0)
          This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog Group ID.
 java.util.Enumeration findByProductSetId(java.lang.Integer arg0)
          This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified ProductSet ID.
 java.lang.String getCatalogGroupId()
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupIdInEJBType()
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogId()
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogIdInEJBType()
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getProductSetId()
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupId(java.lang.Long newValue)
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.String newValue)
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.Long newValue)
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String newValue)
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 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 setInitKey_productSetId(java.lang.String newValue)
          Set the primary key for this object
 void setProductSetId(java.lang.Integer newValue)
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.String newValue)
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogGroupProductSetRelAccessBean

public CatalogGroupProductSetRelAccessBean()
constructor

CatalogGroupProductSetRelAccessBean

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

CatalogGroupProductSetRelAccessBean

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

findByCatGroupId

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

This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog Group ID.

SQL:
SELECT * FROM CATGRPPS WHERE CATGRPPS.CATGROUP_ID = catGroupId

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

findByCatalogIdAndCatGroupId

public java.util.Enumeration findByCatalogIdAndCatGroupId(java.lang.Long arg0,
                                                          java.lang.Long arg1)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog ID and Catalog Group ID.

SQL:
SELECT * FROM CATGRPPS WHERE CATGRPPS.CATALOG_ID = argCatalogId AND CATGRPPS.CATGROUP_ID = argCatGroupId

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

findByProductSetId

public java.util.Enumeration findByProductSetId(java.lang.Integer arg0)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified ProductSet ID.

SQL:
SELECT * FROM CATGRPPS WHERE CATGRPPS.PRODUCTSET_ID = argProductSetId

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_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

setInitKey_productSetId

public void setInitKey_productSetId(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 CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogGroup.

Specified by:
getCatalogGroupId in interface CatalogGroupProductSetRelAccessBeanData
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 CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogGroup.

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 CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogGroup.

Specified by:
setCatalogGroupId in interface CatalogGroupProductSetRelAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long newValue)

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

The following is a description of this column:

The internal reference number of the CatalogGroup.

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

getProductSetId

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

This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the ProductSet.

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

getProductSetIdInEJBType

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

This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the ProductSet.

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

setProductSetId

public void setProductSetId(java.lang.String newValue)

This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the ProductSet.

Specified by:
setProductSetId in interface CatalogGroupProductSetRelAccessBeanData
Parameters:
newValue - String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer newValue)

This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the ProductSet.

Parameters:
newValue - java.lang.Integer
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 CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Catalog.

Specified by:
getCatalogId in interface CatalogGroupProductSetRelAccessBeanData
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 CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Catalog.

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 CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Catalog.

Specified by:
setCatalogId in interface CatalogGroupProductSetRelAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatalogId

public void setCatalogId(java.lang.Long newValue)

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

The following is a description of this column:

The internal reference number of the Catalog.

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