java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.ProductSetCeRelAccessBean
This table holds the expanded (published) form of a ProductSet. This access bean corresponds to the database table 'PRSETCEREL'.
Constructor Summary | |
ProductSetCeRelAccessBean() Default constructor. |
|
ProductSetCeRelAccessBean(java.lang.Integer argProductSetId, java.lang.Long argCatalogEntryId) Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
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 catEntry_id, java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS) 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 catEntry_id, java.lang.Long[] exclusionPS) 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 accesses a non-CMP field |
void | setCatalogEntryId(java.lang.String newValue) This method accesses a non-CMP field |
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 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 |
public ProductSetCeRelAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ProductSetCeRelAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ProductSetCeRelAccessBean(java.lang.Integer argProductSetId, java.lang.Long argCatalogEntryId) 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.
Method Detail |
public ProductSetCeRelAccessBean findEntitledCatalogEntry(java.lang.Long catEntry_id, java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS) 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))
public ProductSetCeRelAccessBean findUnEntitledCatalogEntry(java.lang.Long catEntry_id, java.lang.Long[] exclusionPS) 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))
public void setInitKey_catalogEntryId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_productSetId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
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.
public void setCatalogEntryId(java.lang.String newValue)
public void setCatalogEntryId(java.lang.Long newValue)
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.
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.
public void setProductSetId(java.lang.String newValue)
public void setProductSetId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.