java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.CatalogGroupRelationAccessBean
This tables relates CatalogGroups (or Categories) to SubCatalogGroups (or SubCategories). You can use this table to dictate the navigational flow from CatalogGroups to SubCatalogGroups. Each relationship is also qualified by a Catalog ID. This access bean corresponds to the database table 'CATGRPREL'.
Constructor Summary | |
CatalogGroupRelationAccessBean() Zero argument constructor used to initialize the access bean. |
|
CatalogGroupRelationAccessBean(javax.ejb.EJBObject o) constructor |
|
CatalogGroupRelationAccessBean(java.lang.Long argCatalogId, java.lang.Long argCatalogGroupParentNumber, java.lang.Long argCatalogGroupChildNumber) Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCatalogGroupChildId(java.lang.Long argCatalogGroupChildId) Finds the catalog group relation with the child catalog group ID. |
java.util.Enumeration | findByCatalogGroupChildIdAndStore(java.lang.Long argCatalogGroupChildId, java.lang.Integer anStore) Finds the parent of the given child catalog group id in this store. |
java.util.Enumeration | findByCatalogGroupParentId(java.lang.Long argCatalogGroupParentId) Finds the catalog group relation with the parent catalog group ID. |
java.util.Enumeration | findByCatalogGroupParentIdAndStore(java.lang.Long argCatalogGroupParentId, java.lang.Integer anStore) Finds the child of the given parent catalog group id in this store. |
java.util.Enumeration | findByLinkedCatalogId(java.lang.Long argCatalogIdLink) Finds the catalog group relations that link to the catlaog |
java.util.Enumeration | findByParentCategoryAndLinkedCatalog(java.lang.Long argParentCatgroupId, java.lang.Long argLinkedCatalogId) Finds the child of the given parent catalog group id that link to the catlaog |
java.lang.String | getCatalogGroupIdChild() This method provides access to the CATGRPREL.CATGROUP_ID_CHILD column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogGroupIdChildInEJBType() This method provides access to the CATGRPREL.CATGROUP_ID_CHILD column of DB2 type BIGINT NOT NULL. |
java.lang.String | getCatalogGroupIdParent() This method provides access to the CATGRPREL.CATGROUP_ID_PARENT column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogGroupIdParentInEJBType() This method provides access to the CATGRPREL.CATGROUP_ID_PARENT column of DB2 type BIGINT NOT NULL. |
java.lang.String | getCatalogId() This method provides access to the CATGRPREL.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogIdInEJBType() This method provides access to the CATGRPREL.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogIdLink() getCatalogIdLink |
java.lang.String | getLastUpdate() This method provides access to the CATGRPREL.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastUpdateInEJBType() This method provides access to the CATGRPREL.LASTUPDATE column of DB2 type TIMESTAMP. |
CatalogAccessBean | getLinkedCatalog() The Catalogs that are linked this group relationship |
java.lang.String | getRule() This method provides access to the CATGRPREL.RULE column of DB2 type VARCHAR(254). |
java.lang.String | getSequence() This method provides access to the CATGRPREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double | getSequenceInEJBType() This method provides access to the CATGRPREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCatalogGroupIdChild(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatalogGroupIdChild(java.lang.String newValue) This method accesses a non-CMP field |
void | setCatalogGroupIdParent(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatalogGroupIdParent(java.lang.String newValue) This method accesses a non-CMP field |
void | setCatalogId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatalogId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCatalogIdLink(java.lang.Long newValue) This method accesses a non-CMP field |
void | setInitKey_catalogGroupIdChild(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_catalogGroupIdParent(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_catalogId(java.lang.String newValue) Set the primary key for this object |
void | setLastUpdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setRule(java.lang.String newValue) This method accesses a non-CMP field |
void | setSequence(java.lang.Double newValue) This method accesses a non-CMP field |
void | setSequence(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 CatalogGroupRelationAccessBean()
public CatalogGroupRelationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CatalogGroupRelationAccessBean(java.lang.Long argCatalogId, java.lang.Long argCatalogGroupParentNumber, java.lang.Long argCatalogGroupChildNumber) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog group relation according to the catalog ID, parent catalog group ID, and child catalog group ID.
Method Detail |
public java.util.Enumeration findByCatalogGroupChildId(java.lang.Long argCatalogGroupChildId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog group relation with the child catalog group ID.
SQL:
SELECT CATGROUP_ID_PARENT, CATGROUP_ID_CHILD, CATALOG_ID, RULE, SEQUENCE, LASTUPDATE FROM CATGRPREL WHERE CATGROUP_ID_CHILD = argCatalogGroupChildId ORDER BY SEQUENCE
public java.util.Enumeration findByCatalogGroupParentId(java.lang.Long argCatalogGroupParentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog group relation with the parent catalog group ID.
SQL:
SELECT CATGROUP_ID_PARENT, CATGROUP_ID_CHILD, CATALOG_ID, RULE, SEQUENCE, LASTUPDATE FROM CATGRPREL WHERE CATGROUP_ID_PARENT = argCatalogGroupParentId ORDER BY SEQUENCE
public void setInitKey_catalogGroupIdChild(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_catalogGroupIdParent(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_catalogId(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 getCatalogGroupIdParent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATGROUP_ID_PARENT column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The source CatalogGroup of this relationship.
public java.lang.Long getCatalogGroupIdParentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATGROUP_ID_PARENT column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The source CatalogGroup of this relationship.
public void setCatalogGroupIdParent(java.lang.String newValue)
public void setCatalogGroupIdParent(java.lang.Long newValue)
public java.lang.String getRule() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.RULE column of DB2 type VARCHAR(254).
The following is a description of this column:
Reserved for IBM internal use.
public void setRule(java.lang.String newValue)
public java.lang.String getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
Indicates the last time that this relationship was updated.
public java.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
Indicates the last time that this relationship was updated.
public void setLastUpdate(java.lang.String newValue)
public void setLastUpdate(java.sql.Timestamp newValue)
public java.lang.String getCatalogGroupIdChild() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATGROUP_ID_CHILD column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The target CatalogGroup of this relationship.
public java.lang.Long getCatalogGroupIdChildInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATGROUP_ID_CHILD column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The target CatalogGroup of this relationship.
public void setCatalogGroupIdChild(java.lang.String newValue)
public void setCatalogGroupIdChild(java.lang.Long newValue)
public java.lang.String getCatalogId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Catalog in which this relationship is found.
public java.lang.Long getCatalogIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Catalog in which this relationship is found.
public void setCatalogId(java.lang.String newValue)
public void setCatalogId(java.lang.Long newValue)
public java.lang.String getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
The sequence number that determines the display order of the contents of the CatalogGroup.
public java.lang.Double getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATGRPREL.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
The sequence number that determines the display order of the contents of the CatalogGroup.
public void setSequence(java.lang.String newValue)
public void setSequence(java.lang.Double newValue)
public java.util.Enumeration findByCatalogGroupChildIdAndStore(java.lang.Long argCatalogGroupChildId, java.lang.Integer anStore) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findByCatalogGroupParentIdAndStore(java.lang.Long argCatalogGroupParentId, java.lang.Integer anStore) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.Long getCatalogIdLink() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCatalogIdLink(java.lang.Long newValue)
public java.util.Enumeration findByParentCategoryAndLinkedCatalog(java.lang.Long argParentCatgroupId, java.lang.Long argLinkedCatalogId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findByLinkedCatalogId(java.lang.Long argCatalogIdLink) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public CatalogAccessBean getLinkedCatalog() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.