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 subtree for this CatalogGroup is a member of the specified ProductSet. This access bean corresponds to the database table 'CATGRPPS'.

See Also:
Serialized Form

Constructor Summary
CatalogGroupProductSetRelAccessBean()
Default constructor.
CatalogGroupProductSetRelAccessBean(javax.ejb.EJBObject o)
constructor
CatalogGroupProductSetRelAccessBean(java.lang.Long argCatalogId, java.lang.Long argCatalogGroupId, java.lang.Integer argProductSetId)
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).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByCatalogIdAndCatGroupId(java.lang.Long argCatalogId, java.lang.Long argCatGroupId)
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 catGroupId)
This method returns an enumeration of CatalogGroupProductSetRel Access Beans with the specified Catalog Group ID.
java.util.Enumeration findByProductSetId(java.lang.Integer argProductSetId)
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 accesses a non-CMP field
void setCatalogGroupId(java.lang.String newValue)
This method accesses a non-CMP field
void setCatalogId(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatalogId(java.lang.String newValue)
This method accesses a non-CMP field
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 accesses a non-CMP field
void setProductSetId(java.lang.String newValue)
This method accesses a non-CMP field
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 o)
                                    throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CatalogGroupProductSetRelAccessBean

public CatalogGroupProductSetRelAccessBean(java.lang.Long argCatalogId,
                                           java.lang.Long argCatalogGroupId,
                                           java.lang.Integer argProductSetId)
                                    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:
argCatalogId - The Catalog reference number. java.lang.Long
argCatalogGroupId - The Catalog Group reference number. java.lang.Long
argProductSetId - 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

findByCatGroupId

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

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

findByCatalogIdAndCatGroupId

public java.util.Enumeration findByCatalogIdAndCatGroupId(java.lang.Long argCatalogId,
                                                          java.lang.Long argCatGroupId)
                                                   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

Parameters:
argCatalogId - The Catalog ID. java.lang.Long
argCatGroupId - 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 argProductSetId)
                                         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

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

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 accesses a non-CMP field
Specified by:
setCatalogGroupId in interface CatalogGroupProductSetRelAccessBeanData

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setProductSetId in interface CatalogGroupProductSetRelAccessBeanData

setProductSetId

public void setProductSetId(java.lang.Integer newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setCatalogId in interface CatalogGroupProductSetRelAccessBeanData

setCatalogId

public void setCatalogId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback