com.ibm.commerce.catalog.objects
Class ProductSetCeRelAccessBean

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

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

This table holds the expanded (published) form of a ProductSet.

See Also:
Serialized Form

Constructor Summary
ProductSetCeRelAccessBean()
          constructor
ProductSetCeRelAccessBean(java.lang.Integer arg0, java.lang.Long arg1)
          constructor
ProductSetCeRelAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
  ProductSetCeRelAccessBean findEntitledCatalogEntry(java.lang.Long arg0, java.lang.Long[] arg1, java.lang.Long[] arg2)
          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 arg0, java.lang.Long[] arg1)
          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.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryId(java.lang.Long newValue)
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryId(java.lang.String newValue)
          This method provides access to the PRSETCEREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_catalogEntryId(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 provides access to the PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.String newValue)
          This method provides access to the PRSETCEREL.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductSetCeRelAccessBean

public ProductSetCeRelAccessBean()
constructor

ProductSetCeRelAccessBean

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

ProductSetCeRelAccessBean

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

findEntitledCatalogEntry

public ProductSetCeRelAccessBean findEntitledCatalogEntry(java.lang.Long arg0,
                                                          java.lang.Long[] arg1,
                                                          java.lang.Long[] arg2)
                                                   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 = catEntry_id AND PRODUCTSET.MARKFORDELETE = 0 AND PRSETCEREL.PRODUCTSET_ID = PRODUCTSET.PRODUCTSET_ID AND PRSETCEREL.PRODUCTSET_ID IN (inclusionPS)) AND PRSETCEREL.CATENTRY_ID NOT IN (SELECT CATENTRY_ID FROM PRSETCEREL WHERE PRODUCTSET_ID IN (exclusionPS))

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 arg0,
                                                            java.lang.Long[] arg1)
                                                     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 = catEntry_id 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 (exclusionPS))

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

setInitKey_catalogEntryId

public void setInitKey_catalogEntryId(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

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 CatalogEntry ID.

Specified by:
getCatalogEntryId in interface ProductSetCeRelAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 CatalogEntry ID.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatalogEntryId

public void setCatalogEntryId(java.lang.String newValue)

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

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long newValue)

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.

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

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 ProductSet ID.

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

The following is a description of this column:

The ProductSet ID.

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

The following is a description of this column:

The ProductSet ID.

Specified by:
setProductSetId in interface ProductSetCeRelAccessBeanData
Parameters:
newValue - String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer newValue)

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 ProductSet ID.

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