java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.VendorAccessBean
Each row defines a Vendor who has a relationship with a Store, or all the Stores in a StoreGroup, generally to provide inventory. This access bean corresponds to the database table 'VENDOR'.
Constructor Summary | |
VendorAccessBean() Zero argument constructor used to initialize the access bean. |
|
VendorAccessBean(java.lang.Integer newStoreentId, java.lang.String newVendorName) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
VendorAccessBean(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 | findByStoreentId(java.lang.Integer aStoreentId)
Retrieves information about a vendor with the specified STOREENT_ID
The SQL query used to fetch the requested row from the VENDOR table is: SELECT * FROM VENDOR T1 WHERE T1.STOREENT_ID = ? |
java.util.Enumeration | findByStoreentIdAndVendorName(java.lang.Integer aStoreentId, java.lang.String aVendorName)
Retrieves information about a vendor with the specified STOREENT_ID and VENDORNAME
The SQL query used to fetch the requested row from the VENDOR table is: SELECT * FROM VENDOR T1 WHERE T1.STOREENT_ID = ? AND T1.VENDORNAME = ? |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getLastupdate() This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMarkForDelete() This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getStoreentId() This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreentIdInEJBType() This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getVendorId() This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getVendorIdInEJBType() This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getVendorName() This method provides access to the VENDOR.VENDORNAME column of DB2 type CHAR(30) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_vendorId(java.lang.String newValue) Set the primary key for this object |
void | setLastupdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastupdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreentId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreentId(java.lang.String newValue) This method accesses a non-CMP field |
void | setVendorId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setVendorId(java.lang.String newValue) This method accesses a non-CMP field |
void | setVendorName(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VendorAccessBean()
public VendorAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public VendorAccessBean(java.lang.Integer newStoreentId, java.lang.String newVendorName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findByStoreentId(java.lang.Integer aStoreentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves information about a vendor with the specified STOREENT_ID
The SQL query used to fetch the requested row from the VENDOR table is:
SELECT * FROM VENDOR T1 WHERE T1.STOREENT_ID = ?
public java.util.Enumeration findByStoreentIdAndVendorName(java.lang.Integer aStoreentId, java.lang.String aVendorName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves information about a vendor with the specified STOREENT_ID and VENDORNAME
The SQL query used to fetch the requested row from the VENDOR table is:
SELECT * FROM VENDOR T1 WHERE T1.STOREENT_ID = ? AND T1.VENDORNAME = ?
public void setInitKey_vendorId(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 getVendorName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.VENDORNAME column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Uniquely identifies the Vendor for this StoreEntity.
public void setVendorName(java.lang.String newValue)
public java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this row was most recently updated.
public java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this row was most recently updated.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this Vendor has been marked for deletion:&l
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this Vendor has been marked for deletion:&l
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getStoreentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Vendor has a relationship with this Store, or all the Stores in this StoreGroup.
public java.lang.Integer getStoreentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Vendor has a relationship with this Store, or all the Stores in this StoreGroup.
public void setStoreentId(java.lang.String newValue)
public void setStoreentId(java.lang.Integer newValue)
public java.lang.String getVendorId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.Long getVendorIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique identifier.
public void setVendorId(java.lang.String newValue)
public void setVendorId(java.lang.Long newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.