com.ibm.commerce.inventory.commands
Interface FulfillmentCenterDeleteCmd

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

public interface FulfillmentCenterDeleteCmd
extends ToolsControllerCommand

Marks a list of fulfillment centers for deletion.

URL calling syntax for this controller command

https://host_name/path/FulfillmentCenterDelete?fulfillmentCenterId=fulfillment_center_Id_1&fulfillmentCenterId=fulfillment_center_Id_2&URL=return_url

Parameters

fulfillmentCenterId
The identifier of fulfillment center to be deleted. 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.FulfillmentCenterDeleteCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.FulfillmentCenterDeleteCmd".
 
Method Summary
 void setFulfillmentCenterIds(java.lang.String[] newFulfillmentCenterIds)
          Sets the list of fulfillment center identifiers.
 void setRequestProperties( TypedProperty reqParms)
          Sets a group of 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.FulfillmentCenterDeleteCmd".
See Also:
Constant Field Values

defaultCommandClassName

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

setFulfillmentCenterIds

public void setFulfillmentCenterIds(java.lang.String[] newFulfillmentCenterIds)
Sets the list of fulfillment center identifiers.
Parameters:
newFulfillmentCenterIds - identifiers of the fulfillment centers to be marked for deletion

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Sets a group of request properties. Caller sets up the parms in the properties field then calls this method which calls the setters for each property. Currently this is just the fulfillment center ids.
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
reqParms - fulfillment center delete properties
ECApplicationException