public class CatalogGroupRelationAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CatalogGroupRelationAccessBeanData
Constructor and Description |
---|
CatalogGroupRelationAccessBean()
Zero argument constructor used to initialize the access bean.
|
CatalogGroupRelationAccessBean(javax.ejb.EJBObject o) |
CatalogGroupRelationAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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 | findByCatalogId(java.lang.Long catalogId)
Finds the record by catalog id.
|
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() |
java.lang.Long | getCatalogGroupIdChildInEJBType() |
java.lang.String | getCatalogGroupIdParent() |
java.lang.Long | getCatalogGroupIdParentInEJBType() |
java.lang.String | getCatalogId() |
java.lang.Long | getCatalogIdInEJBType() |
java.lang.Long | getCatalogIdLink()
getCatalogIdLink
|
java.lang.String | getLastUpdate() |
java.sql.Timestamp | getLastUpdateInEJBType() |
CatalogAccessBean | getLinkedCatalog()
The Catalogs that are linked this group relationship
|
java.lang.String | getRule() |
java.lang.String | getSequence() |
java.lang.Double | getSequenceInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setCatalogGroupIdChild(java.lang.Long newValue) |
void | setCatalogGroupIdChild(java.lang.String newValue) |
void | setCatalogGroupIdParent(java.lang.Long newValue) |
void | setCatalogGroupIdParent(java.lang.String newValue) |
void | setCatalogId(java.lang.Long newValue) |
void | setCatalogId(java.lang.String newValue) |
void | setCatalogIdLink(java.lang.Long newValue)
setCatalogIdLink
|
void | setInitKey_catalogGroupIdChild(java.lang.String newValue) |
void | setInitKey_catalogGroupIdParent(java.lang.String newValue) |
void | setInitKey_catalogId(java.lang.String newValue) |
void | setLastUpdate(java.lang.String newValue) |
void | setLastUpdate(java.sql.Timestamp newValue) |
void | setRule(java.lang.String newValue) |
void | setSequence(java.lang.Double newValue) |
void | setSequence(java.lang.String newValue) |
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.
public CatalogGroupRelationAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) 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 catalog group relation according to the CatalogEntityCreationData.
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)
public void setInitKey_catalogGroupIdParent(java.lang.String newValue)
public void setInitKey_catalogId(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 getCatalogGroupIdParent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getCatalogGroupIdParentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
public java.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getCatalogGroupIdChildInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getCatalogIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Double getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.util.Enumeration findByCatalogId(java.lang.Long catalogId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM CATGRPREL WHERE CATGRPREL.CATALOG_ID = catalogId