java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.ProductSetAccessBean
This table holds the definition of a ProductSet. The actual representation of the ProductSet is held in the PRSETCEREL table. This access bean corresponds to the database table 'PRODUCTSET'.
Constructor Summary | |
ProductSetAccessBean(javax.ejb.EJBObject o) public ProductSetAccessBean () { super(); } /** constructor |
|
ProductSetAccessBean(java.lang.String arg0, java.lang.String arg1, java.lang.Long arg2) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | 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) |
java.lang.String | getMarkForDelete() This method provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getName() This method provides access to the PRODUCTSET.NAME column of DB2 type VARCHAR(32). |
java.lang.String | getOwnerId() This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOwnerIdInEJBType() This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getProductSetId() This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getProductSetIdInEJBType() This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getPublishTime() This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getPublishTimeInEJBType() This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP. |
java.lang.String | getStaticflag() This method provides access to the PRODUCTSET.STATIC column of DB2 type CHAR(1). |
java.lang.String | getXmlDefinition() This method accesses a non-CMP field |
java.lang.String | getXmlString() This method returns the content of the XML in the PRODUCTSET.XMLDEFINITION column of DB2 type LONG VARCHAR NULL. |
protected void | instantiateEJB() |
protected boolean | 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() Load data from the EJBObject. |
void | setInitKey_productSetId(java.lang.String newValue) Set the primary key for this object |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.String newValue) This method accesses a non-CMP field |
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 |
void | setPublishTime(java.lang.String newValue) This method accesses a non-CMP field |
void | setPublishTime(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setStaticflag(java.lang.String newValue) This method accesses a non-CMP field |
void | setXmlDefinition(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 ProductSetAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ProductSetAccessBean(java.lang.String arg0, java.lang.String arg1, java.lang.Long arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Method Detail |
public ProductSetAccessBean findByCatalogIdAndCatalogGroupId(java.lang.Long catalogId, java.lang.Long catGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
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 findByAllNonStatic() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
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 findByName(java.lang.String name) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns an enumeration of ProductSet Access Beans with the specified ProductSet name.
SQL:
SELECT * FROM PRODUCTSET WHERE PRODUCTSET.NAME = astrName
public java.util.Enumeration findByNameAndOwner(java.lang.String name, java.lang.Long ownerId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
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 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 getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this ProductSet.
public java.lang.Long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this ProductSet.
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
This method provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this ProductSet has been marked for deletion:&l
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this ProductSet has been marked for deletion:&l
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
This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The internal reference number.
public java.lang.Integer getProductSetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The internal reference number.
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
This method provides access to the PRODUCTSET.STATIC column of DB2 type CHAR(1).
The following is a description of this column:
Indicates whether this ProductSet can be changed. If this column is set to 1, then this PoductSet will never be re-published or synchronized.
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
This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
The time when this ProductSet was published to the PRSETCEREL table.
public java.sql.Timestamp getPublishTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
The time when this ProductSet was published to the PRSETCEREL table.
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
This method provides access to the PRODUCTSET.NAME column of DB2 type VARCHAR(32).
The following is a description of this column:
The name given to this ProductSet.
public void setName(java.lang.String newValue)
public boolean isChildLevelProductSet(java.lang.Long anCatalogId, java.lang.Integer anProductSetId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public boolean isTopLevelProductSet(java.lang.Long anCatalogId, java.util.Vector avecabProductSets) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getXmlString() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns the content of the XML in the PRODUCTSET.XMLDEFINITION column of DB2 type LONG VARCHAR NULL.
public java.util.Enumeration findByTermConditionId(java.lang.Long termConditionId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.