public class InventoryAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements InventoryAccessBeanData
Constructor and Description |
---|
InventoryAccessBean()
Zero argument constructor used to initialize the access bean.
|
InventoryAccessBean(javax.ejb.EJBObject o) |
InventoryAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData inventoryEntityCreationData)
The create method for the ejb.
|
InventoryAccessBean(java.lang.Long argCatalogEntryReferenceNumber, java.lang.Integer argFfmCenterId, java.lang.Integer argStoreId)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
InventoryAccessBean | findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long catalogEntryId, java.lang.Integer fulfillmentCenterId, java.lang.Integer storeId)
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 | findByCatalogEntryId(java.lang.Long catalogEntryId)
Finds by Catalog Entry reference number.
|
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 orderItems, java.lang.Integer storeId)
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() |
java.lang.Long | getCatalogEntryIdInEJBType() |
java.lang.String | getFulfillmentCenterId() |
java.lang.Integer | getFulfillmentCenterIdInEJBType() |
java.lang.String | getInventoryFlags() |
java.lang.Integer | getInventoryFlagsInEJBType() |
java.lang.String | getQuantity() |
java.lang.Double | getQuantityInEJBType() |
java.lang.String | getQuantityMeasure() |
java.lang.String | getStoreId() |
java.lang.Integer | getStoreIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setInitKey_catalogEntryId(java.lang.String newValue) |
void | setInitKey_fulfillmentCenterId(java.lang.String newValue) |
void | setInitKey_storeId(java.lang.String newValue) |
void | setInventoryFlags(java.lang.Integer newValue) |
void | setInventoryFlags(java.lang.String newValue) |
void | setQuantity(java.lang.Double newValue) |
void | setQuantity(java.lang.String newValue) |
void | setQuantityMeasure(java.lang.String newValue) |
void | setStoreId(java.lang.Integer newValue) |
void | setStoreId(java.lang.String newValue) |
public InventoryAccessBean()
public InventoryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public InventoryAccessBean(java.lang.Long argCatalogEntryReferenceNumber, java.lang.Integer argFfmCenterId, java.lang.Integer argStoreId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
public InventoryAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData inventoryEntityCreationData) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
public InventoryAccessBean findByCatalogEntryAndFulfillmentCenterAndStore(java.lang.Long catalogEntryId, java.lang.Integer fulfillmentCenterId, java.lang.Integer storeId) 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
public java.util.Enumeration findByOrderItemsAndStore(java.util.Vector orderItems, java.lang.Integer storeId) 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
public void setInitKey_catalogEntryId(java.lang.String newValue)
public void setInitKey_fulfillmentCenterId(java.lang.String newValue)
public void setInitKey_storeId(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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
public void refreshCopyHelper() throws 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
public java.lang.Double getQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setQuantity(java.lang.String newValue)
public void setQuantity(java.lang.Double newValue)
public java.lang.String getInventoryFlags() throws 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
public void setInventoryFlags(java.lang.String newValue)
public void setInventoryFlags(java.lang.Integer newValue)
public java.lang.String getCatalogEntryId() throws 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
public java.lang.String getStoreId() throws 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
public void setStoreId(java.lang.String newValue)
public void setStoreId(java.lang.Integer newValue)
public java.lang.String getQuantityMeasure() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setQuantityMeasure(java.lang.String newValue)
public java.lang.String getFulfillmentCenterId() throws 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
public java.util.Enumeration findWithPushDownQuery(java.lang.String pushDownQuery) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
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
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
public java.util.Enumeration findByCatalogEntryId(java.lang.Long catalogEntryId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException