|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.fulfillment.objects.InventoryAccessBean
This bean provides access to the INVENTORY table.
The following is a description of this table:
The inventory table. Refer to INVENTORY table: details for more information.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
InventoryAccessBean()
Default constructor. |
|
InventoryAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
InventoryAccessBean(java.lang.Long aCatalogEntryId,
java.lang.Integer aFulfillmentCenterId,
java.lang.Integer aStoreId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
InventoryAccessBean |
findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long aCatalogEntryId,
java.lang.Integer aFulfillmentCenterId,
java.lang.Integer aStoreId)
Retrieves the InventoryAccessBean representing the specified CatalogEntry in the context of a FulfillmentCenter and a Store, for update. The SQL query used to fetch the requested row from the INVENTORY table is: SELECT * FROM INVENTORY T1 WHERE T1.CATENTRY_ID = ? and T1.FFMCENTER_ID = ? and T1.STORE_ID = ? FOR UPDATE |
java.util.Enumeration |
findByOrderItemsAndStore(java.util.Vector avecOrderItemAccessBeans,
java.lang.Integer aStoreId)
Retrieves the InventoryAccessBeans referenced by the specified Vector of OrderItemAccessBeans in the context of the a Store, for update. The SQL query used to fetch all the required rows from the INVENTORY table is: SELECT * FROM INVENTORY T1 WHERE T1.STORE_ID = ? AND ((T1.CATENTRY_ID = ? AND T1.FFMCENTER_ID = ?) OR ...) FOR UPDATE |
java.lang.String |
getCatalogEntryId()
This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getCatalogEntryIdInEJBType()
This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getFulfillmentCenterId()
This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getFulfillmentCenterIdInEJBType()
This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getInventoryFlags()
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getInventoryFlagsInEJBType()
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getQuantity()
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL. |
java.lang.Double |
getQuantityInEJBType()
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL. |
java.lang.String |
getQuantityMeasure()
This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getStoreId()
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreIdInEJBType()
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_catalogEntryId(java.lang.String aInitKey_catalogEntryId)
Set the primary key for this object |
void |
setInitKey_fulfillmentCenterId(java.lang.String aInitKey_fulfillmentCenterId)
Set the primary key for this object |
void |
setInitKey_storeId(java.lang.String aInitKey_storeId)
Set the primary key for this object |
void |
setInventoryFlags(java.lang.Integer aInventoryFlags)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setInventoryFlags(java.lang.String aInventoryFlags)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setQuantity(java.lang.Double aQuantity)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL. |
void |
setQuantity(java.lang.String aQuantity)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL. |
void |
setQuantityMeasure(java.lang.String aQuantityMeasure)
This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL. |
void |
setStoreId(java.lang.Integer aStoreId)
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreId(java.lang.String aStoreId)
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER 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 |
public InventoryAccessBean()
Default constructor. Maps to findByPrimaryKey.
public InventoryAccessBean(javax.ejb.EJBObject aEJBObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB.
aEJBObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic InventoryAccessBean(java.lang.Long aCatalogEntryId, java.lang.Integer aFulfillmentCenterId, java.lang.Integer aStoreId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
aCatalogEntryId
- the CatalogEntry IDaFulfillmentCenterId
- the FulfillmentCenter IDaStoreId
- the Store IDjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic InventoryAccessBean findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long aCatalogEntryId, java.lang.Integer aFulfillmentCenterId, java.lang.Integer aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the InventoryAccessBean representing the specified CatalogEntry in the context of a FulfillmentCenter and a Store, for update.
The SQL query used to fetch the requested row from the
INVENTORY table is:
SELECT * FROM INVENTORY T1 WHERE T1.CATENTRY_ID = ? and T1.FFMCENTER_ID = ? and T1.STORE_ID = ? FOR UPDATE
aCatalogEntryId
- the CatalogEntry IDaFulfillmentCenterId
- the FulfillmentCenter IDaStoreId
- the Store IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderItemsAndStore(java.util.Vector avecOrderItemAccessBeans, java.lang.Integer aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the InventoryAccessBeans referenced by the specified Vector of OrderItemAccessBeans in the context of the a Store, for update.
The SQL query used to fetch all the required rows from the
INVENTORY table is:
SELECT * FROM INVENTORY T1 WHERE T1.STORE_ID = ? AND ((T1.CATENTRY_ID = ? AND T1.FFMCENTER_ID = ?) OR ...) FOR UPDATE
avecOrderItemAccessBeans
- a Vector of OrderItemAccessBeansaStoreId
- the Store IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCatalogEntryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The CatalogEntry.
getCatalogEntryId
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getCatalogEntryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The CatalogEntry.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getFulfillmentCenterId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The FulfillmentCenter.
getFulfillmentCenterId
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getFulfillmentCenterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The FulfillmentCenter.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getInventoryFlags() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.
getInventoryFlags
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getInventoryFlagsInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getQuantity() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
getQuantity
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Double getQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getQuantityMeasure() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The unit of measurement for QUANTITY.
getQuantityMeasure
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
getStoreId
in interface InventoryAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_catalogEntryId(java.lang.String aInitKey_catalogEntryId)
Set the primary key for this object
aInitKey_catalogEntryId
- java.lang.Stringpublic void setInitKey_fulfillmentCenterId(java.lang.String aInitKey_fulfillmentCenterId)
Set the primary key for this object
aInitKey_fulfillmentCenterId
- java.lang.Stringpublic void setInitKey_storeId(java.lang.String aInitKey_storeId)
Set the primary key for this object
aInitKey_storeId
- java.lang.Stringpublic void setInventoryFlags(java.lang.Integer aInventoryFlags)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.
aInventoryFlags
- java.lang.Integerpublic void setInventoryFlags(java.lang.String aInventoryFlags)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.
setInventoryFlags
in interface InventoryAccessBeanData
aInventoryFlags
- java.lang.Stringpublic void setQuantity(java.lang.Double aQuantity)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
aQuantity
- java.lang.Doublepublic void setQuantity(java.lang.String aQuantity)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
setQuantity
in interface InventoryAccessBeanData
aQuantity
- java.lang.Stringpublic void setQuantityMeasure(java.lang.String aQuantityMeasure)
This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The unit of measurement for QUANTITY.
setQuantityMeasure
in interface InventoryAccessBeanData
aQuantityMeasure
- java.lang.Stringpublic void setStoreId(java.lang.Integer aStoreId)
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
aStoreId
- java.lang.Integerpublic void setStoreId(java.lang.String aStoreId)
This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store.
setStoreId
in interface InventoryAccessBeanData
aStoreId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |