|
||||||||
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.StoreCatalogEntryAccessBean
This bean provides access to the STORECENT table.
The following is a description of this table:
This table holds the relationship between StoreEntities and the CatalogEntries that they can display and process.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
StoreCatalogEntryAccessBean()
Default constructor. |
|
StoreCatalogEntryAccessBean(javax.ejb.EJBObject storeCatEntryEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
StoreCatalogEntryAccessBean(java.lang.Long catEntryID,
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 |
findByCatalogEntryId(java.lang.Long catEntryID)
Finds the store catalog entries with the catalog entry ID. |
java.util.Enumeration |
findByStoreId(java.lang.Long storeID)
Finds the store catalog entries with the store ID. |
java.lang.String |
getCatalogEntryReferenceNumber()
This method provides access to the STORECENT.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getCatalogEntryReferenceNumberInEJBType()
This method provides access to the STORECENT.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getStoreEntryID()
This method provides access to the STORECENT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreEntryIDInEJBType()
This method provides access to the STORECENT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_catalogEntryReferenceNumber(java.lang.String catEntryID)
Set the primary key for this object |
void |
setInitKey_storeEntryID(java.lang.String storeID)
Set the primary key for this object |
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 StoreCatalogEntryAccessBean()
Default constructor. Maps to findByPrimaryKey.
public StoreCatalogEntryAccessBean(javax.ejb.EJBObject storeCatEntryEJBObj) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
storeCatEntryEJBObj
- The store catalog entry EJB Object. javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic StoreCatalogEntryAccessBean(java.lang.Long catEntryID, 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 entry according to the catalog entry ID and store ID.
catEntryID
- The catalog entry 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 findByCatalogEntryId(java.lang.Long catEntryID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the store catalog entries with the catalog entry ID.
SQL:
SELECT CATENTRY_ID, STOREENT_ID
FROM STORECENT
WHERE CATENTRY_ID = catEntryID
catEntryID
- The catalog entry 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.Long storeID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the store catalog entries with the store ID.
SQL:
SELECT CATENTRY_ID, STOREENT_ID
FROM STORECENT
WHERE STOREENT_ID = storeID
storeID
- The store 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.lang.String getCatalogEntryReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECENT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the CatalogEntry.
getCatalogEntryReferenceNumber
in interface StoreCatalogEntryAccessBeanData
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 getCatalogEntryReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECENT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the CatalogEntry.
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 STORECENT.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 StoreCatalogEntryAccessBeanData
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 STORECENT.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 setInitKey_catalogEntryReferenceNumber(java.lang.String catEntryID)
Set the primary key for this object
catEntryID
- The catalog entry ID. java.lang.Stringpublic void setInitKey_storeEntryID(java.lang.String storeID)
Set the primary key for this object
storeID
- The store ID. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |