java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
VendorAccessBean() constructor | |
VendorAccessBean(java.lang.Integer arg0,
java.lang.String arg1) constructor | |
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 arg0)
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 arg0,
java.lang.String arg1)
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 provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastupdate(java.sql.Timestamp newValue) This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setStoreentId(java.lang.Integer newValue) This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String newValue) This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setVendorId(java.lang.Long newValue) This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL. |
void |
setVendorId(java.lang.String newValue) This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL. |
void |
setVendorName(java.lang.String newValue) This method provides access to the VENDOR.VENDORNAME column of DB2 type CHAR(30) NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public VendorAccessBean(java.lang.Integer arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Integerarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByStoreentId(java.lang.Integer arg0) 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 = ?
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 findByStoreentIdAndVendorName(java.lang.Integer arg0, java.lang.String arg1) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_vendorId(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 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.
getVendorName
in interface
VendorAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setVendorName(java.lang.String newValue)
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.
setVendorName
in interface
VendorAccessBeanData
newValue
- java.lang.Stringpublic 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.
getLastupdate
in interface
VendorAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastupdate(java.lang.String newValue)
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.
setLastupdate
in interface
VendorAccessBeanData
newValue
- Stringpublic void setLastupdate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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
getMarkForDelete
in interface
VendorAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
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
setMarkForDelete
in interface
VendorAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getStoreentId
in interface
VendorAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreentId(java.lang.String newValue)
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.
setStoreentId
in interface
VendorAccessBeanData
newValue
- Stringpublic void setStoreentId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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.
getVendorId
in interface
VendorAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setVendorId(java.lang.String newValue)
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.
setVendorId
in interface
VendorAccessBeanData
newValue
- Stringpublic void setVendorId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Stringjava.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
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException