java.lang.Objectcom.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. This access bean corresponds to the database table 'STORECNTR'.
Constructor Summary | |
StoreContractAccessBean() Zero argument constructor used to initialize the access bean. |
|
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 contractReferenceNumber) 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. |
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
Method Detail |
public java.util.Enumeration findByContract(java.lang.Long contractReferenceNumber) 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 = ?
public 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 = ?
public void setInitKey_contractReferenceNumber(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_storeId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
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.
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.
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.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.