public class ProductSetCeRelAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ProductSetCeRelAccessBeanData
Constructor and Description |
---|
ProductSetCeRelAccessBean()
Default constructor.
|
ProductSetCeRelAccessBean(javax.ejb.EJBObject o) |
ProductSetCeRelAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Constructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCatalogEntryId(java.lang.Long catalogEntryId)
Finds by Catalog Entry reference number.
|
java.util.Enumeration | findByProductSetId(java.lang.Integer productSetId)
Finds by Product Set reference number.
|
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.util.Enumeration | findValidCatalogEntryByEntitlement(java.lang.Long aCatalogEntryId, java.util.Vector[] aInclusivePSList, java.util.Vector[] aExclusivePSList)
findValidCatalogEntryByEntitlement
|
java.lang.String | getCatalogEntryId() |
java.lang.Long | getCatalogEntryIdInEJBType() |
java.lang.String | getProductSetId() |
java.lang.Integer | getProductSetIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setCatalogEntryId(java.lang.Long newValue) |
void | setCatalogEntryId(java.lang.String newValue) |
void | setInitKey_catalogEntryId(java.lang.String newValue) |
void | setInitKey_productSetId(java.lang.String newValue) |
void | setProductSetId(java.lang.Integer newValue) |
void | setProductSetId(java.lang.String newValue) |
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.
public ProductSetCeRelAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Constructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog according to the CatalogEntityCreationData.
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)
public void setInitKey_productSetId(java.lang.String newValue)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getCatalogEntryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getCatalogEntryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Integer getProductSetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setProductSetId(java.lang.String newValue)
public void setProductSetId(java.lang.Integer newValue)
public java.util.Enumeration findValidCatalogEntryByEntitlement(java.lang.Long aCatalogEntryId, java.util.Vector[] aInclusivePSList, java.util.Vector[] aExclusivePSList) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findByCatalogEntryId(java.lang.Long catalogEntryId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * from PRSETCEREL where CATENTRY_ID=catalogEntryId
public java.util.Enumeration findByProductSetId(java.lang.Integer productSetId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * from PRSETCEREL where PRODUCTSET_ID=productSetId