com.ibm.commerce.catalog.objects
Class CatalogGroupTradingPositionRelAccessBean

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

public class CatalogGroupTradingPositionRelAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupTradingPositionRelAccessBeanData

This bean provides access to the CATGRPTPC table.

The following is a description of this table:

This table relates master catalogs with trading position containers. Each catalog entry belonging to the indicated master catalog must have a standard price offer supplied for the specified trading position container.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogGroupTradingPositionRelAccessBean()
          Default constructor.
CatalogGroupTradingPositionRelAccessBean(javax.ejb.EJBObject CatalogGroupTradingPositionRelEJBObject)
          Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogGroupTradingPositionRelAccessBean(java.lang.Long anCatalogId, java.lang.Long anCatGroupId, java.lang.Long anTradingPositionId)
          Contructor for the object that 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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and Catalog Group reference number.
 java.util.Enumeration findByCatGroupId(java.lang.Long aDByCatGroupId)
          This method returns an enumeration of CatalogGroupTradingPositionRel Access Beans with the specified Catalog Group reference number.
 java.util.Enumeration findByTradingPositionId(java.lang.Long aDByTradingPositionId)
          This method returns an enumeration of CatalogGroupTradingPositionRel Access Beans with the specified Trading Position Container reference number.
 CatalogGroupTradingPositionRelAccessBean findZeroLevelTPCByCatalogId(java.lang.Long aDZeroLevelTPCByCatalogId)
          This method returns the CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and zero level Catalog Group.
 java.lang.String getCatalogGroupId()
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupIdInEJBType()
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogId()
          This method provides access to the CATGRPTPC.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogIdInEJBType()
          This method provides access to the CATGRPTPC.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTradingPositionId()
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingPositionIdInEJBType()
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupId(java.lang.Long anCatalogGroupId)
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupId(java.lang.String anCatalogGroupId)
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.Long anCatalogId)
          This method provides access to the CATGRPTPC.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String anCatalogId)
          This method provides access to the CATGRPTPC.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_tradingPositionId(java.lang.String aInitKey_tradingPositionId)
          Set the primary key for this object
 void setTradingPositionId(java.lang.Long anTradingPositionId)
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionId(java.lang.String anTradingPositionId)
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT 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

CatalogGroupTradingPositionRelAccessBean

public CatalogGroupTradingPositionRelAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogGroupTradingPositionRelAccessBean

public CatalogGroupTradingPositionRelAccessBean(javax.ejb.EJBObject CatalogGroupTradingPositionRelEJBObject)
                                         throws java.rmi.RemoteException

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

Parameters:
CatalogGroupTradingPositionRelEJBObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogGroupTradingPositionRelAccessBean

public CatalogGroupTradingPositionRelAccessBean(java.lang.Long anCatalogId,
                                                java.lang.Long anCatGroupId,
                                                java.lang.Long anTradingPositionId)
                                         throws javax.naming.NamingException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                java.rmi.RemoteException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the CatalogGroupTradingPositionRel according to the Catalog ID, Catalog Group ID, and the Trading Position Container ID.

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anCatGroupId - The Catalog Group reference number. java.lang.Long
anTradingPositionId - The Trading Position Container reference number. java.lang.Long
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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and Catalog Group reference number.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.CATALOG_ID = anCatalogId AND CATGRPTPC.CATGROUP_ID = anCatGroupId

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anCatGroupId - The Catalog Group reference number. 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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog Group reference number.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.CATGROUP_ID = anCatGroupId

Parameters:
anCatGroupId - The Catalog Group reference number. 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

findByTradingPositionId

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

This method returns an enumeration of CatalogGroupTradingPositionRel Access Beans with the specified Trading Position Container reference number.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.TRADEPOSCN_ID = anTradePosCnId

Parameters:
anTradePosCnId - The Trading Position Container reference number. 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

findZeroLevelTPCByCatalogId

public CatalogGroupTradingPositionRelAccessBean findZeroLevelTPCByCatalogId(java.lang.Long aDZeroLevelTPCByCatalogId)
                                                                     throws java.rmi.RemoteException,
                                                                            javax.ejb.FinderException,
                                                                            javax.naming.NamingException

This method returns the CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and zero level Catalog Group.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.CATALOG_ID = anCatalogId CATGRPTPC.CATGROUP_ID = 0

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupTradingPositionRelAccessBean
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 CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog Group. This ID should always be 0.

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

The following is a description of this column:

The reference number of the Catalog Group. This ID should always be 0.

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 CATGRPTPC.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:
getCatalogId in interface CatalogGroupTradingPositionRelAccessBeanData
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 CATGRPTPC.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 - 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

getTradingPositionId

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

This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the trading position container.

Specified by:
getTradingPositionId in interface CatalogGroupTradingPositionRelAccessBeanData
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

getTradingPositionIdInEJBType

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

This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the trading position container.

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

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

The following is a description of this column:

The reference number of the Catalog Group. This ID should always be 0.

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

setCatalogGroupId

public void setCatalogGroupId(java.lang.String anCatalogGroupId)

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

The following is a description of this column:

The reference number of the Catalog Group. This ID should always be 0.

Specified by:
setCatalogGroupId in interface CatalogGroupTradingPositionRelAccessBeanData
Parameters:
anCatalogGroupId - java.lang.String
Returns:
void

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)

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

The following is a description of this column:

The reference number of the catalog.

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
Returns:
void

setCatalogId

public void setCatalogId(java.lang.String anCatalogId)

This method provides access to the CATGRPTPC.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:
setCatalogId in interface CatalogGroupTradingPositionRelAccessBeanData
Parameters:
anCatalogId - The Catalog reference number. 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 reference number. 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 reference number of the Catalog. java.lang.String
Returns:
void

setInitKey_tradingPositionId

public void setInitKey_tradingPositionId(java.lang.String aInitKey_tradingPositionId)

Set the primary key for this object

Parameters:
aInitKey_tradingPositionId - The reference number of the Trading Position Container. java.lang.String
Returns:
void

setTradingPositionId

public void setTradingPositionId(java.lang.Long anTradingPositionId)

This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the trading position container.

Parameters:
anTradingPositionId - The reference number of the Trading Position Container. java.lang.Long
Returns:
void

setTradingPositionId

public void setTradingPositionId(java.lang.String anTradingPositionId)

This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the trading position container.

Specified by:
setTradingPositionId in interface CatalogGroupTradingPositionRelAccessBeanData
Parameters:
anTradingPositionId - The Trading Position Container reference number. java.lang.String
Returns:
void