|
||||||||
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.contract.objects.StoreContractAccessBean
This bean provides access to the STORECNTR.html" table.
The following is a description of this table:
Each row of this table indicates that a Contract is deployed in a Store.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
StoreContractAccessBean()
Default constructor. |
|
StoreContractAccessBean(javax.ejb.EJBObject anObject)
Creates an access bean for the specified EJB |
|
StoreContractAccessBean(com.ibm.commerce.contract.objects.StoreContractKey storeContractKey)
Constructs an StoreContractAccessBean object with the specified storeContractKey. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByContract(java.lang.Long contractId)
Retrieves an Enumeration of StoreContractAccessBeans representing all the relationship between stores and the specified contract ID. |
java.util.Enumeration |
findByStore(java.lang.Integer storeId)
Retrieves an Enumeration of StoreContractAccessBeans representing all the relationship between contracts and the specified store ID. |
java.lang.String |
getContractReferenceNumber()
This method provides access to the STORECNTR.CONTRACT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getContractReferenceNumberInEJBType()
This method provides access to the STORECNTR.CONTRACT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getStoreId()
This method provides access to the STORECNTR.STORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreIdInEJBType()
This method provides access to the STORECNTR.STORE_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_contractReferenceNumber(java.lang.String aInitKey_contractReferenceNumber)
Set the primary key for this object |
void |
setInitKey_storeId(java.lang.String aInitKey_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 StoreContractAccessBean()
Default constructor. Maps to findByPrimaryKey.
public StoreContractAccessBean(javax.ejb.EJBObject anObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
anObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic StoreContractAccessBean(com.ibm.commerce.contract.objects.StoreContractKey storeContractKey) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an StoreContractAccessBean object with the specified storeContractKey.
aReContractAccessBean
- com.ibm.commerce.contract.objects.StoreContractKeyjavax.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 findByContract(java.lang.Long contractId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of StoreContractAccessBeans representing all the relationship between stores and the specified contract ID.
The SQL query used to fetch the required rows from the table is:
select * from storecntr T1 where T1.contract_id = ?
contractId
- The ID of the contract.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 findByStore(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of StoreContractAccessBeans representing all the relationship between contracts and the specified store ID.
The SQL query used to fetch the required rows from the table is:
select * from storecntr T1 where T1.store_id = ?
storeId
- The store ID.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getContractReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECNTR.CONTRACT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Contract.
getContractReferenceNumber
in interface StoreContractAccessBeanData
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 getContractReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECNTR.CONTRACT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Contract.
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 getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECNTR.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
getStoreId
in interface StoreContractAccessBeanData
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 getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORECNTR.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
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_contractReferenceNumber(java.lang.String aInitKey_contractReferenceNumber)
Set the primary key for this object
aInitKey_contractReferenceNumber
- The ID of the contract.public void setInitKey_storeId(java.lang.String aInitKey_storeId)
Set the primary key for this object
aInitKey_storeId
- The ID of the store.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |