|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.StoreCatalogAccessBean
This bean provides access to the STORECAT table.
The following is a description of this table:
This table holds the relationship between StoreEntities and the Catalogs that they offer.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
StoreCatalogAccessBean()
Default constructor. |
|
StoreCatalogAccessBean(javax.ejb.EJBObject storeCatEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
StoreCatalogAccessBean(java.lang.Long catalogID,
java.lang.Integer storeID)
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). |
java.util.Enumeration |
findByCatalogId(java.lang.Long catalogID)
Finds the store catalogs with the catalog ID. |
java.util.Enumeration |
findByStoreId(java.lang.Integer storeID)
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 NULL. |
java.sql.Timestamp |
getLastUpdateInEJBType()
This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getMasterCatalog()
This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1) NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCatalogReferenceNumber(java.lang.Long catalogID)
This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
void |
setCatalogReferenceNumber(java.lang.String catalogID)
This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_catalogReferenceNumber(java.lang.String catalogID)
Set the primary key for this object |
void |
setInitKey_storeEntryID(java.lang.String storeEntryID)
Set the primary key for this object |
void |
setLastUpdate(java.lang.String lastUpdate)
This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setLastUpdate(java.sql.Timestamp lastUpdate)
This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setMasterCatalog(java.lang.String masterCatalog)
This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1) NULL. |
void |
setStoreEntryID(java.lang.Integer storeEntityID)
This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreEntryID(java.lang.String aStoreEntryID)
This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StoreCatalogAccessBean()
Default constructor. Maps to findByPrimaryKey.
public StoreCatalogAccessBean(javax.ejb.EJBObject storeCatEJBObj) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
storeCatEJBObj
- The store catalog EJB Object. javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic StoreCatalogAccessBean(java.lang.Long catalogID, java.lang.Integer storeID) 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.
catalogID
- The catalog reference number. java.lang.LongstoreID
- The store ID. java.lang.Integerjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCatalogId(java.lang.Long catalogID) 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 = catalogID
catalogID
- The catalog ID. java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreId(java.lang.Integer storeID) 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 = storeID
storeID
- The store ID. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getCatalogReferenceNumber
in interface StoreCatalogAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Indicates the last time that this relationship was updated.
getLastUpdate
in interface StoreCatalogAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Indicates the last time that this relationship was updated.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
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.
getMasterCatalog
in interface StoreCatalogAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getStoreEntryID
in interface StoreCatalogAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCatalogReferenceNumber(java.lang.Long catalogID)
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.
catalogID
- The catalog reference number. java.lang.Longpublic void setCatalogReferenceNumber(java.lang.String catalogID)
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.
setCatalogReferenceNumber
in interface StoreCatalogAccessBeanData
catalogID
- The catalog ID. java.lang.Stringpublic void setInitKey_catalogReferenceNumber(java.lang.String catalogID)
Set the primary key for this object
catalogID
- The catalog reference number. java.lang.Stringpublic void setInitKey_storeEntryID(java.lang.String storeEntryID)
Set the primary key for this object
storeEntryID
- The store entity ID. java.lang.Stringpublic void setLastUpdate(java.lang.String lastUpdate)
This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Indicates the last time that this relationship was updated.
setLastUpdate
in interface StoreCatalogAccessBeanData
lastUpdate
- The last update time stamp. java.lang.Stringpublic void setLastUpdate(java.sql.Timestamp lastUpdate)
This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Indicates the last time that this relationship was updated.
lastUpdate
- The last update time stamp. java.sql.Timestamppublic void setMasterCatalog(java.lang.String masterCatalog)
This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1) NULL.
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.
setMasterCatalog
in interface StoreCatalogAccessBeanData
masterCatalog
- The master catalog. java.lang.Stringpublic void setStoreEntryID(java.lang.Integer storeEntityID)
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.
storeEntryID
- The store entity ID. java.lang.Integerpublic void setStoreEntryID(java.lang.String aStoreEntryID)
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.
setStoreEntryID
in interface StoreCatalogAccessBeanData
aStoreEntryID
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |