java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.fulfillment.objects.InventoryAccessBean
The inventory table. Each row of this table contains a quantity amount representing the inventory for a particular CatalogEntry available to be shipped from a FulfillmentCenter on behalf of a Store.
Constructor Summary | |
---|---|
InventoryAccessBean() constructor | |
InventoryAccessBean(javax.ejb.EJBObject o) constructor | |
InventoryAccessBean(java.lang.Long arg0, java.lang.Integer arg1,
java.lang.Integer arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
InventoryAccessBean |
findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long arg0,
java.lang.Integer arg1, java.lang.Integer arg2) 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 |
findByMultipleCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long[] catalogEntryIds,
java.lang.Integer[] fulfillmentCenterIds,
java.lang.Integer[] storeIds) findByMultipleCatalogEntryAndFulfillmentCenterAndStore |
java.util.Enumeration |
findByMultipleCatalogEntryAndFulfillmentCenterAndStoreForUpdate(java.lang.Long[] catalogEntryIds,
java.lang.Integer[] fulfillmentCenterIds,
java.lang.Integer[] storeIds) findByMultipleCatalogEntryAndFulfillmentCenterAndStoreForUpdate |
java.util.Enumeration |
findByOrderItemsAndStore(java.util.Vector arg0,
java.lang.Integer arg1) 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.util.Enumeration |
findWithPushDownQuery(java.lang.String pushDownQuery) |
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 DEFAULT 0. |
java.lang.Integer |
getInventoryFlagsInEJBType() This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String |
getQuantity() This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double |
getQuantityInEJBType() This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.String |
getQuantityMeasure() This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'. |
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. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_catalogEntryId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_fulfillmentCenterId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_storeId(java.lang.String newValue) Set the primary key for this object |
void |
setInventoryFlags(java.lang.Integer newValue) This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setInventoryFlags(java.lang.String newValue) This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setQuantity(java.lang.Double newValue) This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setQuantity(java.lang.String newValue) This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setQuantityMeasure(java.lang.String newValue) This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'. |
void |
setStoreId(java.lang.Integer newValue) This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreId(java.lang.String newValue) This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public InventoryAccessBean()
public InventoryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public InventoryAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Integer arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Integerarg2
- java.lang.Integerjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public InventoryAccessBean findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Integer arg2) 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
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 findByOrderItemsAndStore(java.util.Vector arg0, java.lang.Integer arg1) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_catalogEntryId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_fulfillmentCenterId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_storeId(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 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 DEFAULT 0.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
getQuantity
in interface
InventoryAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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 DEFAULT 0.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setQuantity(java.lang.String newValue)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
setQuantity
in interface
InventoryAccessBeanData
newValue
- Stringpublic void setQuantity(java.lang.Double newValue)
This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
The quantity amount, in units indicated by QUANTITYMEASURE.
newValue
- java.lang.Doublepublic 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 DEFAULT 0.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:&l
getInventoryFlags
in interface
InventoryAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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 DEFAULT 0.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInventoryFlags(java.lang.String newValue)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:&l
setInventoryFlags
in interface
InventoryAccessBeanData
newValue
- Stringpublic void setInventoryFlags(java.lang.Integer newValue)
This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Bit flags, from low to high order, indicating how QUANTITY is used:&l
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreId(java.lang.String newValue)
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
newValue
- Stringpublic void setStoreId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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 DEFAULT 'C62'.
The following is a description of this column:
The unit of measurement for QUANTITY.
getQuantityMeasure
in interface
InventoryAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setQuantityMeasure(java.lang.String newValue)
This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'.
The following is a description of this column:
The unit of measurement for QUANTITY.
setQuantityMeasure
in interface
InventoryAccessBeanData
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.util.Enumeration findWithPushDownQuery(java.lang.String pushDownQuery) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
pushDownQuery
- the push-down queryjava.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public java.util.Enumeration findByMultipleCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long[] catalogEntryIds, java.lang.Integer[] fulfillmentCenterIds, java.lang.Integer[] storeIds) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
catalogEntryIds
- java.lang.Long[]fulfillmentCenterIds
- java.lang.Integer[]storeIds
- java.lang.Integer[]javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Enumeration findByMultipleCatalogEntryAndFulfillmentCenterAndStoreForUpdate(java.lang.Long[] catalogEntryIds, java.lang.Integer[] fulfillmentCenterIds, java.lang.Integer[] storeIds) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
catalogEntryIds
- java.lang.Long[]fulfillmentCenterIds
- java.lang.Integer[]storeIds
- java.lang.Integer[]javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException