com.ibm.commerce.inventory.objects
Class VendorAccessBean

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

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

This bean provides access to the VENDOR table.

The following is a description of this table:

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

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
VendorAccessBean()
          Default constructor.
VendorAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
VendorAccessBean(java.lang.Integer StoreentId, java.lang.String VendorName)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByStoreentId(java.lang.Integer StoreentId)
          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 StoreentId, java.lang.String VendorName)
          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 aFills, java.lang.String aFills)
          IBM internal use only.
 java.lang.String getLastupdate()
          This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_vendorId(java.lang.String aInitKey_vendorId)
          Set the primary key for this object
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.String aStoreentId)
          This method provides access to the VENDOR.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setVendorId(java.lang.Long aVendorId)
          This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void setVendorId(java.lang.String aVendorId)
          This method provides access to the VENDOR.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void setVendorName(java.lang.String aVendorName)
          This method provides access to the VENDOR.VENDORNAME column of DB2 type CHAR(30) NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VendorAccessBean

public VendorAccessBean()

Default constructor. Maps to findByPrimaryKey.


VendorAccessBean

public VendorAccessBean(javax.ejb.EJBObject object)
                 throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

VendorAccessBean

public VendorAccessBean(java.lang.Integer StoreentId,
                        java.lang.String VendorName)
                 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

Parameters:
StoreentId - - java.lang.Integer
VendorName - - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

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

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreentId

public java.util.Enumeration findByStoreentId(java.lang.Integer StoreentId)
                                       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 = ?

Parameters:
StoreentId - - java.lang.Integer
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 StoreentId,
                                                           java.lang.String VendorName)
                                                    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 = ?

Parameters:
StoreentId - - java.lang.Integer
VendorName - - java.lang.String
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

fulfills

public boolean fulfills(java.lang.Long aFills,
                        java.lang.String aFills)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

IBM internal use only.

Parameters:
aFills - java.lang.Long
aFills - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

The time this row was most recently updated.

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

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

The following is a description of this column:

The time this row was most recently updated.

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

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.

The following is a description of this column:

Indicates if this Vendor has been marked for deletion:
0 = No.
1 = Yes, this Vendor and its associated values may be deleted from the system.

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

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.

The following is a description of this column:

Indicates if this Vendor has been marked for deletion:
0 = No.
1 = Yes, this Vendor and its associated values may be deleted from the system.

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

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException 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 aInitKey_vendorId)

Set the primary key for this object

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

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this row was most recently updated.

Specified by:
setLastupdate in interface VendorAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

This method provides access to the VENDOR.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this row was most recently updated.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this Vendor has been marked for deletion:
0 = No.
1 = Yes, this Vendor and its associated values may be deleted from the system.

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

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the VENDOR.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this Vendor has been marked for deletion:
0 = No.
1 = Yes, this Vendor and its associated values may be deleted from the system.

Specified by:
setMarkForDelete in interface VendorAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
Returns:
void

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

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:
aStoreentId - java.lang.Integer
Returns:
void

setStoreentId

public void setStoreentId(java.lang.String aStoreentId)

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:
aStoreentId - java.lang.String
Returns:
void

setVendorId

public void setVendorId(java.lang.Long aVendorId)

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:
aVendorId - java.lang.Long
Returns:
void

setVendorId

public void setVendorId(java.lang.String aVendorId)

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:
aVendorId - java.lang.String
Returns:
void

setVendorName

public void setVendorName(java.lang.String aVendorName)

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:
aVendorName - java.lang.String
Returns:
void