com.ibm.commerce.catalog.objects
Class ProductSetCeRelAccessBean

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

public class ProductSetCeRelAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ProductSetCeRelAccessBeanData

This bean provides access to the PRSETCEREL table.

The following is a description of this table:

This table holds the expanded (published) form of a 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
ProductSetCeRelAccessBean()
          Default constructor.
ProductSetCeRelAccessBean(javax.ejb.EJBObject ProductSetCeRelEJBObject)
          Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
ProductSetCeRelAccessBean(java.lang.Integer anProductSetId, java.lang.Long anCatalogEntryId)
          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).
 ProductSetCeRelAccessBean findEntitledCatalogEntry(java.lang.Long anCatalogEntryId, java.lang.Long[] aInclusionPSList, java.lang.Long[] aExclusionPSList)
          This method returns the ProductSetCeRel Access Bean such that the specified Catalog Entry is in the list of the inclusive ProductSet list and not in the list of the exclusive ProductSet list.
 ProductSetCeRelAccessBean findUnEntitledCatalogEntry(java.lang.Long anCatalogEntryId, java.lang.Long[] aExclusivePSList)
          This method returns the ProductSetCeRel Access Bean such that the specified Catalog Entry is in the list of the exclusive ProductSet list.
 java.lang.String getCatalogEntryId()
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogEntryIdInEJBType()
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getProductSetId()
          This method provides access to the PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryId(java.lang.Long anCatalogEntryId)
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryId(java.lang.String aCatalogEntryId)
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogEntryId(java.lang.String aInitKey_catalogEntryId)
          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 aProductSetId)
          This method provides access to the PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.String aProductSetId)
          This method provides access to the PRSETCEREL.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

ProductSetCeRelAccessBean

public ProductSetCeRelAccessBean()

Default constructor. Maps to findByPrimaryKey.


ProductSetCeRelAccessBean

public ProductSetCeRelAccessBean(javax.ejb.EJBObject ProductSetCeRelEJBObject)
                          throws java.rmi.RemoteException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.

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

ProductSetCeRelAccessBean

public ProductSetCeRelAccessBean(java.lang.Integer anProductSetId,
                                 java.lang.Long anCatalogEntryId)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the ProductSetCelRel according to the ProductSet reference number and the Catalog Entry reference number.

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

findEntitledCatalogEntry

public ProductSetCeRelAccessBean findEntitledCatalogEntry(java.lang.Long anCatalogEntryId,
                                                          java.lang.Long[] aInclusionPSList,
                                                          java.lang.Long[] aExclusionPSList)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

This method returns the ProductSetCeRel Access Bean such that the specified Catalog Entry is in the list of the inclusive ProductSet list and not in the list of the exclusive ProductSet list.

SQL:
SELECT PRSETCEREL.CATENTRY_ID, PRSETCEREL.PRODUCTSET_ID FROM PRSETCEREL, PRODUCTSET WHERE PRSETCEREL.CATENTRY_ID = anCatalogEntryId AND PRODUCTSET.MARKFORDELETE = 0 AND PRSETCEREL.PRODUCTSET_ID = PRODUCTSET.PRODUCTSET_ID AND PRSETCEREL.PRODUCTSET_ID IN (aInclusionPSList)) AND PRSETCEREL.CATENTRY_ID NOT IN (SELECT CATENTRY_ID FROM PRSETCEREL WHERE PRODUCTSET_ID IN (aExclusionPSList))

Parameters:
anCatalogEntryId - The Catalog Entry reference number. java.lang.Long
aInclusionPSList - The inclusive ProductSet List java.lang.Long[]
aExclusionPSList - The exclusive ProductSet List java.lang.Long[]
Returns:
com.ibm.commerce.catalog.objects.ProductSetCeRelAccessBean
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

findUnEntitledCatalogEntry

public ProductSetCeRelAccessBean findUnEntitledCatalogEntry(java.lang.Long anCatalogEntryId,
                                                            java.lang.Long[] aExclusivePSList)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

This method returns the ProductSetCeRel Access Bean such that the specified Catalog Entry is in the list of the exclusive ProductSet list.

SQL:
SELECT PRSETCEREL.CATENTRY_ID, PRSETCEREL.PRODUCTSET_ID FROM PRSETCEREL, PRODUCTSET WHERE PRSETCEREL.CATENTRY_ID = anCatalogEntryId AND PRODUCTSET.MARKFORDELETE = 0 AND PRSETCEREL.PRODUCTSET_ID = PRODUCTSET.PRODUCTSET_ID AND PRSETCEREL.CATENTRY_ID IN (SELECT CATENTRY_ID FROM PRSETCEREL WHERE PRODUCTSET_ID IN (aExclusivePSList))

Parameters:
anCatalogEntryId - The Catalog Entry reference number. java.lang.Long
aExclusivePSList - The exclusive ProductSet List. java.lang.Long[]
Returns:
com.ibm.commerce.catalog.objects.ProductSetCeRelAccessBean
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

getCatalogEntryId

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

This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog Entry.

Specified by:
getCatalogEntryId in interface ProductSetCeRelAccessBeanData
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

getCatalogEntryIdInEJBType

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

This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog Entry.

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 PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reference number of the ProductSet.

Specified by:
getProductSetId in interface ProductSetCeRelAccessBeanData
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 PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The 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

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long anCatalogEntryId)

This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the Catalog Entry.

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

setCatalogEntryId

public void setCatalogEntryId(java.lang.String aCatalogEntryId)

This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry ID.

Specified by:
setCatalogEntryId in interface ProductSetCeRelAccessBeanData
Parameters:
aCatalogEntryId - The Catalog Entry reference number. java.lang.String
Returns:
void

setInitKey_catalogEntryId

public void setInitKey_catalogEntryId(java.lang.String aInitKey_catalogEntryId)

Set the primary key for this object

Parameters:
aInitKey_catalogEntryId - The Catalog Entry reference number. 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 reference number. java.lang.String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer aProductSetId)

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

The following is a description of this column:

The reference number of the ProductSet.

Parameters:
aProductSetId - The ProductSet reference number. java.lang.Integer
Returns:
void

setProductSetId

public void setProductSetId(java.lang.String aProductSetId)

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

The following is a description of this column:

The reference number of the ProductSet.

Specified by:
setProductSetId in interface ProductSetCeRelAccessBeanData
Parameters:
aProductSetId - The ProductSet reference number. java.lang.String
Returns:
void