public class StoreContractAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements StoreContractAccessBeanData
Constructor and Description |
---|
StoreContractAccessBean()
Zero argument constructor used to initialize the access bean.
|
StoreContractAccessBean(javax.ejb.EJBObject o)
constructor
|
StoreContractAccessBean(com.ibm.commerce.contract.objects.StoreContractKey key)
Constructs an StoreContract object with the specified key.
|
Modifier and Type | Method and Description |
---|---|
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 accesses a non-CMP field
|
java.lang.Long | getContractReferenceNumberInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getStoreId()
This method accesses a non-CMP field
|
java.lang.Integer | getStoreIdInEJBType()
This method accesses a non-CMP field
|
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
|
public StoreContractAccessBean()
public StoreContractAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public StoreContractAccessBean(com.ibm.commerce.contract.objects.StoreContractKey key) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an StoreContract object with the specified key.
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
public java.lang.Integer getStoreIdInEJBType() throws 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
public java.lang.Long getContractReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException