java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.tools.command.ToolsControllerCommandImpl
com.ibm.commerce.inventory.commands.ExpectedInventoryRecordUpdateCmdImpl
Default implementation of the ExpectedInventoryRecordUpdateCmd interface. Updates an expected inventory record.
If a redirect URL is not provided, calls generic RedirectView when successfully completed, or GenericApplicationError upon failure.
Utilizes these access beans
Field Summary | |
static java.lang.String | COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.inventory.commands.ExpectedInventoryRecordUpdateCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.tools.common.ECToolsConstants |
EC_LINE_SEPARATOR, EC_TOOLS_FULFILLMENT_CENTER_ID, EC_TOOLS_MERCHANT_CENTER_URL, EC_TOOLS_STORE_LANGUAGE_URL, EC_TOOLS_STORES_ACCESS_CONTROL_REQUIRED, EC_TOOLS_STORES_EMPTY, EC_TOOLS_STORES_NO_ACCESS, EC_TOOLS_STORES_NOT_ADMINISTRATOR, EC_XML, EC_XMLFILE, EC_XMLFILEOBJECT, EC_XMLOBJECT, EC_XMLSTRING |
Constructor Summary | |
ExpectedInventoryRecordUpdateCmdImpl() |
Method Summary | |
protected void | checkEIRDetailException() Checks if the detailed information about items on the expected inventory record are missing or not in the right data type. |
protected void | checkIllegalArgumentException() Checks if the timestamp fields are not in the right timestamp format. |
protected void | checkNumberFormatException() Checks if the numeric fields are not in the right numeric format. |
protected void | checkParametersException() Checks that the expected inventory record exists. |
void | createItemffmctr(java.lang.Long itemspcId) Adds a new row in itemffmctr table for this item, store and fulfillment center if row does not yet exist when the expected inventory record is updated. |
java.lang.String | getAction() Returns the action to be performed on the expected inventory record detail. |
java.util.Vector | getAddedItem() Returns the list of items added to the expected inventory record. |
int | getAddedSize() Returns the number of items added to the expected inventory record. |
java.util.Vector | getChangedItem() Returns the list of items updated in the expected inventory record. |
int | getChangedSize() Returns the number of items updated in the expected inventory record. |
java.lang.String | getExpectedDate() Returns the date the inventory is expected. |
java.lang.String | getExternalId() Returns the external identifier. |
java.lang.String | getFfmcenterId() Returns the fulfillment center identifier. |
java.lang.String | getItemspcId() Returns the item identifier. |
java.lang.String | getOrderDate() Returns the date this order is created with the vendor. |
java.lang.String | getQtyOrdered() Returns quantity ordered from vendor. |
java.lang.String | getRaDetailComment() Returns the comment. |
java.lang.String | getRaDetailId() Returns the new expected inventory record detail identifier. |
java.lang.String | getRaId() Returns the expected inventory record identifier. |
java.util.Vector | getRemovedItem() Returns the list of items deleted from the expected inventory record. |
int | getRemovedSize() Returns the number of items deleted from the expected inventory record. |
AccessVector | getResources() Gets the access vector accessed by this command. |
protected void | handleSubmitError(ECException e) Constructs and returns the error message. |
void | performExecute() Performs the execution of updating an expected inventory record. |
void | setAction(java.lang.String newAction) Sets the action to be performed on the expected inventory record detail. |
void | setAddedItem(java.util.Vector newAddedItem) Sets the list of items added to the expected inventory record. |
void | setAddedSize(java.lang.String newAddedSize) Sets the number of items added to the expected inventory record. |
void | setChangedItem(java.util.Vector newChangedItem) Sets the list of items updated in the expected inventory record. |
void | setChangedSize(java.lang.String newChangedSize) Sets the number of items updated in the expected inventory record. |
void | setExpectedDate(java.lang.String newExpectedDate) Sets the date the inventory is expected. |
void | setExternalId(java.lang.String newExternalId) Sets the external identifier. |
void | setFfmcenterId(java.lang.String newFfmcenterId) Sets the fulfillment center identifier. |
void | setItemspcId(java.lang.String newItemspcId) Sets item identifier. |
void | setOrderDate(java.lang.String newOrderDate) Sets the date this order is created with the vendor. |
void | setQtyOrdered(java.lang.String newQtyOrdered) Sets quantity ordered from vendor. |
void | setRaDetailComment(java.lang.String newRaDetailComment) Sets the comment. |
void | setRaDetailId(java.lang.String newRaDetailId) Sets the new expected inventory record detail identifier. |
void | setRaId(java.lang.String newRaId) Sets the expected inventory record identifer. |
void | setRemovedItem(java.util.Vector newRemovedItem) Sets the list of items deleted from the expected inventory record. |
void | setRemovedSize(java.lang.String newRemovedSize) Sets the number of items deleted from the expected inventory record. |
void | validateParameters() Gets the information of expected inventory record to be updated and sets the information into the command local variable. |
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl |
getViewInputProperties, setRequestProperties |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ExpectedInventoryRecordUpdateCmdImpl()
Method Detail |
public java.lang.String getAction()
public java.util.Vector getAddedItem()
public int getAddedSize()
public java.util.Vector getChangedItem()
public int getChangedSize()
public java.util.Vector getRemovedItem()
public int getRemovedSize()
public java.lang.String getExpectedDate()
public java.lang.String getExternalId()
public java.lang.String getFfmcenterId()
public java.lang.String getItemspcId()
public java.lang.String getOrderDate()
public java.lang.String getQtyOrdered()
public java.lang.String getRaDetailComment()
public java.lang.String getRaDetailId()
public java.lang.String getRaId()
public void setAction(java.lang.String newAction)
public void setAddedItem(java.util.Vector newAddedItem)
public void setAddedSize(java.lang.String newAddedSize)
public void setChangedItem(java.util.Vector newChangedItem)
public void setChangedSize(java.lang.String newChangedSize)
public void setRemovedItem(java.util.Vector newRemovedItem)
public void setRemovedSize(java.lang.String newRemovedSize)
public void setExpectedDate(java.lang.String newExpectedDate)
public void setExternalId(java.lang.String newExternalId)
public void setFfmcenterId(java.lang.String newFfmcenterId)
public void setItemspcId(java.lang.String newItemspcId)
public void setOrderDate(java.lang.String newOrderDate)
public void setQtyOrdered(java.lang.String newQtyOrdered)
public void setRaDetailComment(java.lang.String newRaDetailComment)
public void setRaDetailId(java.lang.String newRaDetailId)
public void setRaId(java.lang.String newRaId)
public void validateParameters() throws ECException
protected void checkParametersException() throws ECApplicationException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void checkNumberFormatException() throws ECApplicationException
protected void checkIllegalArgumentException() throws ECApplicationException
protected void checkEIRDetailException() throws ECApplicationException
public void createItemffmctr(java.lang.Long itemspcId) throws ECException
protected void handleSubmitError(ECException e) throws ECApplicationException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.