java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.StoreContractAccessBean
Each row of this table indicates that a Contract is deployed in a Store.
Constructor Summary | |
---|---|
StoreContractAccessBean() constructor | |
StoreContractAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByContract(java.lang.Long arg0) Retrieves an Enumeration of StoreContractAccessBeans representing all the relationship between stores and the specified contract ID. |
java.util.Enumeration |
findByStore(java.lang.Integer arg0) 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. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_contractReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_storeId(java.lang.String newValue) Set the primary key for this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public StoreContractAccessBean()
public StoreContractAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByContract(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStore(java.lang.Integer arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_contractReferenceNumber(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_storeId(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 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException