com.ibm.commerce.inventory.commands
Interface ExpectedInventoryRecordDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, ToolsControllerCommand
All Known Implementing Classes:
ExpectedInventoryRecordDeleteCmdImpl

public interface ExpectedInventoryRecordDeleteCmd
extends ToolsControllerCommand

Marks for deletion a list of expected inventory records.

The expected inventory record cannot be marked for deletion if there is any quantity received from the vendor for this expected inventory record.

Controller command 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.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class name is "com.ibm.commerce.inventory.commands.ExpectedInventoryRecordDeleteCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.ExpectedInventoryRecordDeleteCmd".
 
Method Summary
 void setEIRs(java.lang.String[] newEIRs)
          Sets the list of expected inventory Ids.
 void setRequestProperties( TypedProperty reqParms)
          Sets request properties.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, 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, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.inventory.commands.ExpectedInventoryRecordDeleteCmd".
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.inventory.commands.ExpectedInventoryRecordDeleteCmdImpl".
See Also:
Constant Field Values
Method Detail

setEIRs

public void setEIRs(java.lang.String[] newEIRs)
Sets the list of expected inventory Ids.
Parameters:
newEIRs - list of ids

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Sets request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
reqParms - properties
ECApplicationException