java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.StoreCatalogAccessBean
This table holds the relationship between StoreEntities and the Catalogs that they offer. This access bean corresponds to the database table 'STORECAT'.
Constructor Summary | |
StoreCatalogAccessBean() Zero argument constructor used to initialize the access bean. |
|
StoreCatalogAccessBean(javax.ejb.EJBObject o) constructor |
|
StoreCatalogAccessBean(java.lang.Long argCatalogReferenceNumber, java.lang.Integer argStoreId) 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 | findByCatalogId(java.lang.Long argCatalogId) Finds the store catalogs with the catalog ID. |
java.util.Enumeration | findByCatalogIdAndStoreId(java.lang.Long anCatalogId, java.lang.Integer anStoreId) Finds by catalog id and store id. |
java.util.Enumeration | findByStoreId(java.lang.Integer argStoreId) Finds the store catalogs with the store ID. |
java.lang.String | getCatalogReferenceNumber() This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogReferenceNumberInEJBType() This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getLastUpdate() This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastUpdateInEJBType() This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMasterCatalog() This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1). |
java.lang.String | getStoreEntryID() This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntryIDInEJBType() This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCatalogReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatalogReferenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_catalogReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_storeEntryID(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 | setMasterCatalog(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreEntryID(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreEntryID(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 StoreCatalogAccessBean()
public StoreCatalogAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public StoreCatalogAccessBean(java.lang.Long argCatalogReferenceNumber, java.lang.Integer argStoreId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the store catalog according to the catalog ID, store ID.
Method Detail |
public java.util.Enumeration findByCatalogId(java.lang.Long argCatalogId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the store catalogs with the catalog ID.
SQL:
SELECT STOREENT_ID, CATALOG_ID, LASTUPDATE, MASTERCATALOG FROM STORECAT WHERE CATALOG_ID = argCatalogId
public java.util.Enumeration findByStoreId(java.lang.Integer argStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the store catalogs with the store ID.
SQL:
SELECT STOREENT_ID, CATALOG_ID, LASTUPDATE, MASTERCATALOG FROM STORECAT WHERE STOREENT_ID = argStoreId
public void setInitKey_catalogReferenceNumber(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_storeEntryID(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 getMasterCatalog() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1).
The following is a description of this column:
Specifies a master catalog for the Store. A value of 1 indicates that this Catalog is designated as a master catalog.
public void setMasterCatalog(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 STORECAT.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 STORECAT.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 getCatalogReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the Catalog.
public java.lang.Long getCatalogReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the Catalog.
public void setCatalogReferenceNumber(java.lang.String newValue)
public void setCatalogReferenceNumber(java.lang.Long newValue)
public java.lang.String getStoreEntryID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The reference number of the StoreEntity.
public java.lang.Integer getStoreEntryIDInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The reference number of the StoreEntity.
public void setStoreEntryID(java.lang.String newValue)
public void setStoreEntryID(java.lang.Integer newValue)
public java.util.Enumeration findByCatalogIdAndStoreId(java.lang.Long anCatalogId, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.