com.ibm.commerce.inventory.commands
Interface VendorDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
VendorDeleteCmdImpl

public interface VendorDeleteCmd
extends ToolsControllerCommand

Mark a list of vendors for deletion.

URL calling syntax

https://host_name/path/VendorDelete?vendorId=vendor_Id_1&vendorId=vendor_Id_2&URL=return_url

Parameters

vendorId
The identifier of vendor 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
           
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
           
 
Method Summary
 void setRequestProperties(TypedProperty reqParms)
          Set request properties.
 void setVendorIds(java.lang.String[] newVendorIds)
          Set the list of vendor identifiers.
 
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.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

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
Method Detail

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Set request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
reqParms - com.ibm.commerce.datatype.TypedProperty

setVendorIds

public void setVendorIds(java.lang.String[] newVendorIds)
Set the list of vendor identifiers.
Parameters:
newVendorIds - java.lang.String[]