com.ibm.commerce.contract.commands
Interface ContractDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
ContractDeleteCmdImpl

public interface ContractDeleteCmd
extends ControllerCommand

Delete the specified contracts by setting the contracts to MarkForDelete (WebSphere Commerce Business Edition only). This command does not remove the contract from the database immediately. A contract has to be in one of the following state to run this command: Draft, Cancelled, Closed


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The name of the default implementation class.
static java.lang.String NAME
          The name of this interface.
 
Method Summary
 java.lang.String[] getContractIdList()
          Return the ID list of the contract(s) to be deleted.
 void setContractIdList(java.lang.String[] anContractIdList)
          Sets the id list of the contract(s) to be deleted.
 
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, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

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

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The name of the default implementation class.
See Also:
Constant Field Values
Method Detail

getContractIdList

public java.lang.String[] getContractIdList()
Return the ID list of the contract(s) to be deleted.
Returns:
a String array of the list of contract IDs

setContractIdList

public void setContractIdList(java.lang.String[] anContractIdList)
Sets the id list of the contract(s) to be deleted.
Parameters:
anContractIdList - a String object of the list of contract ids