public class ProductInventoryUpdateCmdImpl extends ControllerCommandImpl implements ProductInventoryUpdateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
java.util.Vector | iRequestPropertiesVector
A vector containing a request property for each update needed.
|
Constructor and Description |
---|
ProductInventoryUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean | doPostProcess(TypedProperty aRequestProperty)
This method performs a verification check after the command executes.
|
boolean | doPreProcess(TypedProperty aRequestProperty)
This method performs a verification check before the command executes.
|
boolean | doProcess(TypedProperty aRequestProperty)
This method updates the product inventory based on the request properties.
|
protected java.lang.Long | findCatEntryId(TypedProperty aRequestProperties)
Identifies the catalog entry to be used.
|
protected java.lang.Long | getCatalogEntryId()
Get the catalog entry Id for current command instance.
|
protected java.lang.Integer | getCurStoreId()
Get the store Id for current command instance.
|
protected java.lang.Integer | getFulfillmentCenterId()
Get the fulfillment center Id for current command instance.
|
protected java.lang.String | getPartNumber()
Get the part number for current command instance.
|
protected java.lang.Double | getQuantity()
Get the quantity for current command instance.
|
java.lang.Long[] | getResourceOwners()
This method returns the organization unit reference numbers for all the resources accessed by this command.
|
AccessVector | getResources()
This method currently does nothing and always returns null.
|
boolean | isReadyToCallExecute()
This method indicates whether the command is ready to execute.
|
boolean | isReadyToCallExecutePerCommandInstance()
This method indicates whether each command instance is ready to be executed.
|
void | performExecute()
This method processes each request property in the internal iRequestPropertiesVector.
|
void | setRequestProperties(TypedProperty aRequestProperties)
This method sets the internal iRequestPropertiesVector based on the given aRequestProperties.
|
void | setRequestPropertiesPerCommandInstance(TypedProperty aRequestProperties)
This method sets the command instance variables before processing each item in the iRequestPropertiesVector.
|
protected void | updateInventory(TypedProperty aRequestProperties)
Updates the inventory record of a non-ATP inventory system.
|
public static final java.lang.String COPYRIGHT
public java.util.Vector iRequestPropertiesVector
protected java.lang.String getPartNumber()
protected java.lang.Long getCatalogEntryId()
protected java.lang.Double getQuantity()
protected java.lang.Integer getCurStoreId()
protected java.lang.Integer getFulfillmentCenterId()
public boolean doPostProcess(TypedProperty aRequestProperty) throws ECException
public boolean doPreProcess(TypedProperty aRequestProperty) throws ECException
public boolean doProcess(TypedProperty aRequestProperty) throws ECException
public java.lang.Long[] getResourceOwners() throws ECException
public AccessVector getResources() throws ECException
public boolean isReadyToCallExecute()
public boolean isReadyToCallExecutePerCommandInstance()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aRequestProperties)
public void setRequestPropertiesPerCommandInstance(TypedProperty aRequestProperties) throws ECApplicationException
protected java.lang.Long findCatEntryId(TypedProperty aRequestProperties) throws javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.FinderException, ECException
protected void updateInventory(TypedProperty aRequestProperties) throws javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.FinderException, ECException