public class ProductSetAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ProductSetAccessBeanData
Constructor and Description |
---|
ProductSetAccessBean()
Default constructor.
|
ProductSetAccessBean(javax.ejb.EJBObject o)
ProductSetAccessBean
|
ProductSetAccessBean(org.w3c.dom.Element psElement)
Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB
|
ProductSetAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData productSetEntityCreationData) |
ProductSetAccessBean(java.lang.String argName, java.lang.String argXMLDefinition, java.lang.Long argOwnerId)
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()
commitCopyHelper
|
java.lang.String | defaultJNDIName()
defaultJNDIName
|
java.util.Enumeration | findByAllNonStatic()
This method returns an enumeration of ProductSet Access Beans that are no static and not marked for deletion.
|
ProductSetAccessBean | findByCatalogIdAndCatalogGroupId(java.lang.Long catalogId, java.lang.Long catGroupId)
This method returns the ProductSet Access Beans with the specified Catalog reference number and Catalog Group reference number.
|
java.util.Enumeration | findByName(java.lang.String name)
This method returns an enumeration of ProductSet Access Beans with the specified ProductSet name.
|
java.util.Enumeration | findByNameAndOwner(java.lang.String name, java.lang.Long ownerId)
This method returns an enumeration of ProductSet Access Beans with the specified name and owner reference number.
|
java.util.Enumeration | findByTermConditionId(java.lang.Long termConditionId) |
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
|
java.lang.String | getMarkForDelete()
getMarkForDelete
|
java.lang.Integer | getMarkForDeleteInEJBType()
getMarkForDeleteInEJBType
|
java.lang.String | getName()
getName
|
java.lang.Long | getOwner()
getOwner
|
java.lang.String | getOwnerId()
getOwnerId
|
java.lang.Long | getOwnerIdInEJBType()
getOwnerIdInEJBType
|
java.lang.String | getProductSetId()
getProductSetId
|
java.lang.Integer | getProductSetIdInEJBType()
getProductSetIdInEJBType
|
java.lang.String | getPublishTime()
getPublishTime
|
java.sql.Timestamp | getPublishTimeInEJBType()
getPublishTimeInEJBType
|
java.lang.String | getStaticflag()
getStaticflag
|
java.lang.String | getXmlDefinition()
getXmlDefinition
|
java.lang.String | getXmlString()
This method returns the content of the XML in the PRODUCTSET.XMLDEFINITION column of DB2 type CLOB NULL.
|
protected void | instantiateEJB()
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
|
boolean | isChildLevelProductSet(java.lang.Long anCatalogId, java.lang.Integer anProductSetId)
This method returns true if this is a Child ProductSet under the supplied ProductSet and exists in the ProductSetVector.
|
boolean | isTopLevelProductSet(java.lang.Long anCatalogId, java.util.Vector avecabProductSets)
This method returns true if this is a top level ProductSet and exists in the ProductsetVector.
|
void | refreshCopyHelper()
refreshCopyHelper
|
void | setInitKey_productSetId(java.lang.String newValue)
setInitKey_productSetId
|
void | setMarkForDelete(java.lang.Integer newValue)
setMarkForDelete
|
void | setMarkForDelete(java.lang.String newValue)
setMarkForDelete
|
void | setName(java.lang.String newValue)
setName
|
void | setOwnerId(java.lang.Long newValue)
setOwnerId
|
void | setOwnerId(java.lang.String newValue)
setOwnerId
|
void | setProductSetId(java.lang.Integer newValue)
setProductSetId
|
void | setProductSetId(java.lang.String newValue)
setProductSetId
|
void | setPublishTime(java.lang.String newValue)
setPublishTime
|
void | setPublishTime(java.sql.Timestamp newValue)
setPublishTime
|
void | setStaticflag(java.lang.String newValue)
setStaticflag
|
void | setXmlDefinition(java.lang.String newValue)
setXmlDefinition
|
public ProductSetAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ProductSetAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ProductSetAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData productSetEntityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public ProductSetAccessBean(java.lang.String argName, java.lang.String argXMLDefinition, java.lang.Long argOwnerId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the ProductSet according to the Product Set name, XML Definition, and the Owner reference number.
public ProductSetAccessBean(org.w3c.dom.Element psElement) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB
public java.lang.String getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOwnerId(java.lang.String newValue)
public void setOwnerId(java.lang.Long newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer 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.lang.String getXmlDefinition() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setXmlDefinition(java.lang.String newValue)
public java.lang.String getStaticflag() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStaticflag(java.lang.String newValue)
public java.lang.String getPublishTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getPublishTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPublishTime(java.lang.String newValue)
public void setPublishTime(java.sql.Timestamp newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setName(java.lang.String newValue)
public void setInitKey_productSetId(java.lang.String newValue)
public java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public ProductSetAccessBean findByCatalogIdAndCatalogGroupId(java.lang.Long catalogId, java.lang.Long catGroupId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the ProductSet Access Beans with the specified Catalog reference number and Catalog Group reference number. It searched into the CATGRPPS table and find the ProductSet reference number with the specified Catalog reference number and Catalog Group reference number and then return the ProductSet Access Bean with that ProductSet reference number.
public java.util.Enumeration findByNameAndOwner(java.lang.String name, java.lang.Long ownerId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of ProductSet Access Beans with the specified name and owner reference number.
SQL:
SELECT * FROM PRODUCTSET WHERE PRODUCTSET.NAME = astrName AND PRODUCTSET.MEMBER_ID = anMemberId
public java.util.Enumeration findByAllNonStatic() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of ProductSet Access Beans that are no static and not marked for deletion.
SQL:
SELECT * FROM PRODUCTSET WHERE (PRODUCTSET.MARKFORDELETE = 0 OR PRODUCTSET.MARKFORDELETE IS NULL) AND (PRODUCTSET.STATIC = '0' OR PRODUCTSET.STATIC IS NULL)
public java.util.Enumeration findByTermConditionId(java.lang.Long termConditionId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findByName(java.lang.String name) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of ProductSet Access Beans with the specified ProductSet name.
SQL:
SELECT * FROM PRODUCTSET WHERE PRODUCTSET.NAME = astrName
public boolean isTopLevelProductSet(java.lang.Long anCatalogId, java.util.Vector avecabProductSets) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.String getXmlString() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the content of the XML in the PRODUCTSET.XMLDEFINITION column of DB2 type CLOB NULL.
public boolean isChildLevelProductSet(java.lang.Long anCatalogId, java.lang.Integer anProductSetId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.Long getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException