com.ibm.commerce.inventory.commands
Interface ExpectedInventoryRecordDeleteCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- ExpectedInventoryRecordDeleteCmdImpl
- public interface ExpectedInventoryRecordDeleteCmd
- extends ToolsControllerCommand
Mark a list of expected inventory records for deletion.
The expected inventory record cannot be marked for deletion if there is any
quantity received from the vendor for this expected inventory record.
URL calling syntax
https://host_name/path/ExpectedInventoryRecordDelete?raId=raId_value_1&raId=raId_value_2&URL=return_url
Parameters
- raId
- The ID of expected inventory record to be marked for deletion. This
parameter can be specified more than once.
- URL
- The URL to be called when the command completes successfully.
Exceptions
When the required fields are missing or not in the right datatype,
this command will throw exception to indicate which field is missing
or bad.
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class name.
NAME
public static final java.lang.String NAME
setEIRs
public void setEIRs(java.lang.String[] newEIRs)
- Set the list of expected inventory Ids.
- Parameters:
newEIRs
- java.lang.String[]
setRequestProperties
public void setRequestProperties(TypedProperty reqParms)
throws ECApplicationException
- Set request properties.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Parameters:
reqParms
- com.ibm.commerce.datatype.TypedProperty