com.ibm.commerce.catalog.objects
Class CatalogGroupProductSetRelAccessBean

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

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

This bean provides access to the CATGRPPS table.

The following is a description of this table:

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

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogGroupProductSetRelAccessBean()
          Default constructor.
CatalogGroupProductSetRelAccessBean(javax.ejb.EJBObject catalogGroupProductSetRelEJBObject)
          Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogGroupProductSetRelAccessBean(java.lang.Long anCatalogId, java.lang.Long anCatGroupId, java.lang.Integer anProductSetId)
          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 findByCatalogIdAndCatGroupId(java.lang.Long anCatalogId, java.lang.Long anCatGroupId)
          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 aDByCatGroupId)
          This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog Group ID.
 java.util.Enumeration findByProductSetId(java.lang.Integer aDByProductSetId)
          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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupId(java.lang.Long anCatalogGroupId)
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.String aCatalogGroupId)
          This method provides access to the CATGRPPS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.Long anCatalogId)
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String anCatalogId)
          This method provides access to the CATGRPPS.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogGroupId(java.lang.String aInitKey_catalogGroupId)
          Set the primary key for this object
 void setInitKey_catalogId(java.lang.String aInitKey_catalogId)
          Set the primary key for this object
 void setInitKey_productSetId(java.lang.String aInitKey_productSetId)
          Set the primary key for this object
 void setProductSetId(java.lang.Integer anProductSetId)
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.String anProductSetId)
          This method provides access to the CATGRPPS.PRODUCTSET_ID column of DB2 type INTEGER 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

CatalogGroupProductSetRelAccessBean

public CatalogGroupProductSetRelAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogGroupProductSetRelAccessBean

public CatalogGroupProductSetRelAccessBean(javax.ejb.EJBObject catalogGroupProductSetRelEJBObject)
                                    throws java.rmi.RemoteException

Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
catalogGroupProductSetRelEJBObject - The CatalogGroupProductSetRel EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogGroupProductSetRelAccessBean

public CatalogGroupProductSetRelAccessBean(java.lang.Long anCatalogId,
                                           java.lang.Long anCatGroupId,
                                           java.lang.Integer anProductSetId)
                                    throws javax.naming.NamingException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the CatalogGroupProductSetRel according to the Catalog reference number, Catalog Group reference number, and ProductSet reference number.

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anCatGroupId - The Catalog Group reference number. java.lang.Long
anProductSetId - The ProductSet reference number. java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException 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

findByCatalogIdAndCatGroupId

public java.util.Enumeration findByCatalogIdAndCatGroupId(java.lang.Long anCatalogId,
                                                          java.lang.Long anCatGroupId)
                                                   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 = anCatalogId AND CATGRPPS.CATGROUP_ID = anCatGroupId

Parameters:
anCatalogId - The Catalog ID. java.lang.Long
anCatGroupId - 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

findByCatGroupId

public java.util.Enumeration findByCatGroupId(java.lang.Long aDByCatGroupId)
                                       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 = anCatGroupId

Parameters:
anCatGroupId - 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

findByProductSetId

public java.util.Enumeration findByProductSetId(java.lang.Integer aDByProductSetId)
                                         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 = anProductSetId

Parameters:
anProductSetId - The ProductSet ID. java.lang.Integer
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

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

The following is a description of this column:

The internal reference number of the Catalog Group.

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

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

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

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long anCatalogGroupId)

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:
anCatalogGroupId - The Catalog Group ID. java.lang.Long
Returns:
void

setCatalogGroupId

public void setCatalogGroupId(java.lang.String aCatalogGroupId)

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:
aCatalogGroupId - The Catalog Group ID. java.lang.String
Returns:
void

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)

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:
anCatalogId - The Catalog ID. java.lang.Long
Returns:
void

setCatalogId

public void setCatalogId(java.lang.String anCatalogId)

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:
anCatalogId - The Catalog ID. java.lang.String
Returns:
void

setInitKey_catalogGroupId

public void setInitKey_catalogGroupId(java.lang.String aInitKey_catalogGroupId)

Set the primary key for this object

Parameters:
aInitKey_catalogGroupId - The Catalog Group ID. java.lang.String
Returns:
void

setInitKey_catalogId

public void setInitKey_catalogId(java.lang.String aInitKey_catalogId)

Set the primary key for this object

Parameters:
aInitKey_catalogId - The Catalog ID. java.lang.String
Returns:
void

setInitKey_productSetId

public void setInitKey_productSetId(java.lang.String aInitKey_productSetId)

Set the primary key for this object

Parameters:
aInitKey_productSetId - The ProductSet ID. java.lang.String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer anProductSetId)

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:
anProductSetId - The ProductSet ID java.lang.Integer
Returns:
void

setProductSetId

public void setProductSetId(java.lang.String anProductSetId)

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:
anProductSetId - The ProductSet ID java.lang.String
Returns:
void