com.ibm.commerce.inventory.objects
Class VendorAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.inventory.objects.VendorAccessBean
All Implemented Interfaces:
VendorAccessBeanData

public class VendorAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements VendorAccessBeanData

Each row defines a Vendor who has a relationship with a Store, or all the Stores in a StoreGroup, generally to provide inventory.

See Also:
Serialized Form

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

VendorAccessBean

public VendorAccessBean()
constructor

VendorAccessBean

public VendorAccessBean(javax.ejb.EJBObject o)
                 throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

VendorAccessBean

public VendorAccessBean(java.lang.Integer arg0,
                        java.lang.String arg1)
                 throws javax.naming.NamingException,
                        javax.ejb.CreateException,
                        java.rmi.RemoteException,
                        javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByStoreentId

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 = ?

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreentIdAndVendorName

public 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 = ?

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInitKey_vendorId

public void setInitKey_vendorId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getVendorName

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.

Specified by:
getVendorName in interface VendorAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setVendorName

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.

Specified by:
setVendorName in interface VendorAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getLastupdate

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.

Specified by:
getLastupdate in interface VendorAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastupdateInEJBType

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.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastupdate

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.

Specified by:
setLastupdate in interface VendorAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastupdate

public 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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getMarkForDelete

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

Specified by:
getMarkForDelete in interface VendorAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMarkForDeleteInEJBType

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

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMarkForDelete

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

Specified by:
setMarkForDelete in interface VendorAccessBeanData
Parameters:
newValue - String
Returns:
void

setMarkForDelete

public 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

Parameters:
newValue - java.lang.Integer
Returns:
void

getStoreentId

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.

Specified by:
getStoreentId in interface VendorAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreentIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreentId

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.

Specified by:
setStoreentId in interface VendorAccessBeanData
Parameters:
newValue - String
Returns:
void

setStoreentId

public 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.

Parameters:
newValue - java.lang.Integer
Returns:
void

getVendorId

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.

Specified by:
getVendorId in interface VendorAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getVendorIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setVendorId

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.

Specified by:
setVendorId in interface VendorAccessBeanData
Parameters:
newValue - String
Returns:
void

setVendorId

public 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.

Parameters:
newValue - java.lang.Long
Returns:
void

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException