java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
ProductSetAccessBean() constructor | |
ProductSetAccessBean(javax.ejb.EJBObject o) 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 arg0,
java.lang.Long arg1) 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 arg0) This method returns an enumeration of ProductSet Access Beans with the specified ProductSet name. |
java.util.Enumeration |
findByNameAndOwner(java.lang.String arg0,
java.lang.Long arg1) This method returns an enumeration of ProductSet Access Beans with the specified name and owner reference number. |
java.util.Enumeration |
findByTermConditionId(java.lang.Long arg0) |
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 arg0,
java.lang.Integer arg1) This method returns true if this is a Child ProductSet under the supplied ProductSet and exists in the ProductSetVector. |
boolean |
isTopLevelProductSet(java.lang.Long arg0,
java.util.Vector arg1) 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 provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the PRODUCTSET.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setName(java.lang.String newValue) This method provides access to the PRODUCTSET.NAME column of DB2 type VARCHAR(32). |
void |
setOwnerId(java.lang.Long newValue) This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setOwnerId(java.lang.String newValue) This method provides access to the PRODUCTSET.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setProductSetId(java.lang.Integer newValue) This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL. |
void |
setProductSetId(java.lang.String newValue) This method provides access to the PRODUCTSET.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL. |
void |
setPublishTime(java.lang.String newValue) This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP. |
void |
setPublishTime(java.sql.Timestamp newValue) This method provides access to the PRODUCTSET.PUBLISHTIME column of DB2 type TIMESTAMP. |
void |
setStaticflag(java.lang.String newValue) This method provides access to the PRODUCTSET.STATIC column of DB2 type CHAR(1). |
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()
public ProductSetAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.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
arg0
- java.lang.Stringarg1
- java.lang.Stringarg2
- java.lang.Longjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public ProductSetAccessBean findByCatalogIdAndCatalogGroupId(java.lang.Long arg0, java.lang.Long arg1) 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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic 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)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findByName(java.lang.String arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findByNameAndOwner(java.lang.String arg0, java.lang.Long arg1) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_productSetId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
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
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getOwnerId
in interface
ProductSetAccessBeanData
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
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOwnerId(java.lang.String newValue)
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.
setOwnerId
in interface
ProductSetAccessBeanData
newValue
- Stringpublic void setOwnerId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
getMarkForDelete
in interface
ProductSetAccessBeanData
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
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
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
setMarkForDelete
in interface
ProductSetAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getProductSetId
in interface
ProductSetAccessBeanData
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
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProductSetId(java.lang.String newValue)
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.
setProductSetId
in interface
ProductSetAccessBeanData
newValue
- Stringpublic void setProductSetId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic java.lang.String getXmlDefinition() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getXmlDefinition
in interface
ProductSetAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setXmlDefinition(java.lang.String newValue)
setXmlDefinition
in interface
ProductSetAccessBeanData
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 &quo
getStaticflag
in interface
ProductSetAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStaticflag(java.lang.String newValue)
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 &quo
setStaticflag
in interface
ProductSetAccessBeanData
newValue
- java.lang.Stringpublic 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.
getPublishTime
in interface
ProductSetAccessBeanData
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
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPublishTime(java.lang.String newValue)
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.
setPublishTime
in interface
ProductSetAccessBeanData
newValue
- Stringpublic void setPublishTime(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.
getName
in interface
ProductSetAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setName(java.lang.String newValue)
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.
setName
in interface
ProductSetAccessBeanData
newValue
- java.lang.Stringpublic boolean isChildLevelProductSet(java.lang.Long arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic boolean isTopLevelProductSet(java.lang.Long arg0, java.util.Vector arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findByTermConditionId(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException