com.ibm.commerce.catalog.objects
Class CatalogGroupTradingPositionRelAccessBean

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

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

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

Constructor Summary
CatalogGroupTradingPositionRelAccessBean()
          constructor
CatalogGroupTradingPositionRelAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogGroupTradingPositionRelAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2)
          constructor
CatalogGroupTradingPositionRelAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2, java.lang.Integer arg3)
          CatalogGroupTradingPositionRelAccessBean 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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and Catalog Group reference number.
 java.util.Enumeration findByCatGroupId(java.lang.Long arg0)
          This method returns an enumeration of CatalogGroupTradingPositionRel Access Beans with the specified Catalog Group reference number.
 java.util.Enumeration findByTradingPositionId(java.lang.Long arg0)
          This method returns an enumeration of CatalogGroupTradingPositionRel Access Beans with the specified Trading Position Container reference number.
  CatalogGroupTradingPositionRelAccessBean findZeroLevelTPCByCatalogId(java.lang.Long arg0)
          This method returns the CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and zero level Catalog Group.
 java.util.Enumeration findZeroLevelTPCByCatalogIdAndStoreId(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the records with a zero trading position container in the given catalog and store.
 java.lang.String getCatalogGroupId()
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL DEFAULT 0.
 java.lang.Long getCatalogGroupIdInEJBType()
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL DEFAULT 0.
 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.Integer getStoreId()
          This method accesses a non-CMP field
 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.
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 CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL DEFAULT 0.
 void setCatalogGroupId(java.lang.String newValue)
          This method provides access to the CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL DEFAULT 0.
 void setCatalogId(java.lang.Long newValue)
          This method provides access to the CATGRPTPC.CATALOG_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogId(java.lang.String newValue)
          This method provides access to the CATGRPTPC.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_storeId(java.lang.String newValue)
           
 void setInitKey_tradingPositionId(java.lang.String newValue)
          Set the primary key for this object
 void setStoreId(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setTradingPositionId(java.lang.Long newValue)
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionId(java.lang.String newValue)
          This method provides access to the CATGRPTPC.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogGroupTradingPositionRelAccessBean

public CatalogGroupTradingPositionRelAccessBean()
constructor

CatalogGroupTradingPositionRelAccessBean

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

CatalogGroupTradingPositionRelAccessBean

public CatalogGroupTradingPositionRelAccessBean(java.lang.Long arg0,
                                                java.lang.Long arg1,
                                                java.lang.Long 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.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

CatalogGroupTradingPositionRelAccessBean

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

findZeroLevelTPCByCatalogId

public CatalogGroupTradingPositionRelAccessBean findZeroLevelTPCByCatalogId(java.lang.Long arg0)
                                                                     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 = argCatalogId CATGRPTPC.CATGROUP_ID = 0

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

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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog Group reference number.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.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

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 CatalogGroupTradingPositionRel Access Beans with the specified Catalog reference number and Catalog Group reference number.

SQL:
SELECT * FROM CATGRPTPC WHERE CATGRPTPC.CATALOG_ID = argCatalogId AND CATGRPTPC.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

findByTradingPositionId

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

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_tradingPositionId

public void setInitKey_tradingPositionId(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 CATGRPTPC.CATGROUP_ID column of DB2 type BIGINT NOT NULL DEFAULT 0.

The following is a description of this column:

Reserved for IBM internal use.

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

The following is a description of this column:

Reserved for IBM internal use.

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

The following is a description of this column:

Reserved for IBM internal use.

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

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long newValue)

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

The following is a description of this column:

Reserved for IBM internal use.

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

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

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

setTradingPositionId

public void setTradingPositionId(java.lang.String newValue)

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

setTradingPositionId

public void setTradingPositionId(java.lang.Long newValue)

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

setCatalogId

public void setCatalogId(java.lang.String newValue)

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

setCatalogId

public void setCatalogId(java.lang.Long newValue)

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

getStoreId

public java.lang.Integer getStoreId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getStoreId in interface CatalogGroupTradingPositionRelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field
Specified by:
setStoreId in interface CatalogGroupTradingPositionRelAccessBeanData

setInitKey_storeId

public void setInitKey_storeId(java.lang.String newValue)

findZeroLevelTPCByCatalogIdAndStoreId

public java.util.Enumeration findZeroLevelTPCByCatalogIdAndStoreId(java.lang.Long arg0,
                                                                   java.lang.Integer arg1)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   java.rmi.RemoteException
Finds the records with a zero trading position container in the given catalog and store.
Returns:
The records which meet the searching criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException.
javax.naming.NamingException
javax.ejb.FinderException