java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.StoreCatalogAccessBean
This table holds the relationship between StoreEntities and the Catalogs that they offer.
Constructor Summary | |
---|---|
StoreCatalogAccessBean() constructor | |
StoreCatalogAccessBean(javax.ejb.EJBObject o) constructor | |
StoreCatalogAccessBean(java.lang.Long arg0,
java.lang.Integer arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByCatalogId(java.lang.Long arg0) Finds the store catalogs with the catalog ID. |
java.util.Enumeration |
findByCatalogIdAndStoreId(java.lang.Long arg0,
java.lang.Integer arg1) Finds by catalog id and store id. |
java.util.Enumeration |
findByStoreId(java.lang.Integer arg0) 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 provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
void |
setCatalogReferenceNumber(java.lang.String newValue) This method provides access to the STORECAT.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
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 provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastUpdate(java.sql.Timestamp newValue) This method provides access to the STORECAT.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setMasterCatalog(java.lang.String newValue) This method provides access to the STORECAT.MASTERCATALOG column of DB2 type CHAR(1). |
void |
setStoreEntryID(java.lang.Integer newValue) This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreEntryID(java.lang.String newValue) This method provides access to the STORECAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public StoreCatalogAccessBean(java.lang.Long arg0, java.lang.Integer arg1) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Integerjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findByCatalogId(java.lang.Long arg0) 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
java.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 arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_catalogReferenceNumber(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_storeEntryID(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
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
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getMasterCatalog
in interface
StoreCatalogAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMasterCatalog(java.lang.String newValue)
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.
setMasterCatalog
in interface
StoreCatalogAccessBeanData
newValue
- java.lang.Stringpublic 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.
getLastUpdate
in interface
StoreCatalogAccessBeanData
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
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastUpdate(java.lang.String newValue)
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.
setLastUpdate
in interface
StoreCatalogAccessBeanData
newValue
- Stringpublic void setLastUpdate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCatalogReferenceNumber(java.lang.String newValue)
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
newValue
- Stringpublic void setCatalogReferenceNumber(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreEntryID(java.lang.String newValue)
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
newValue
- Stringpublic void setStoreEntryID(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic java.util.Enumeration findByCatalogIdAndStoreId(java.lang.Long arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
java.rmi.RemoteException
- The exception description.javax.ejb.FinderException
- The exception description.javax.naming.NamingException