com.ibm.commerce.negotiation.commands
Class DeleteBidRuleCmdImpl
com.ibm.commerce.negotiation.commands.BidRuleBaseCmdImpl
|
+--com.ibm.commerce.negotiation.commands.DeleteBidRuleCmdImpl
- All Implemented Interfaces:
- AccCommand, BidRuleBaseCmd, ControllerCommand, DeleteBidRuleCmd, ECCommand, Protectable, ToolsControllerCommand
- public class DeleteBidRuleCmdImpl
- extends BidRuleBaseCmdImpl
- implements DeleteBidRuleCmd
Deletes one or more bid control rules.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class com.ibm.commerce.negotiation.commands.BidRuleBaseCmdImpl |
getClassId, getErrorContent, getErrorFlag, getField1, getField2, getField3, getMinQty, getMinValue, getOwnerId, getRuleDesc, getRuleId, getRuleName, getRuleText, getRuleType, getToolXMLObject, setClassId, setErrorContent, setErrorFlag, setField1, setField2, setField3, setMinQty, setMinValue, setOwnerId, setRuleDesc, setRuleId, setRuleName, setRuleText, setRuleType, setToolXMLObject |
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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
DeleteBidRuleCmdImpl
public DeleteBidRuleCmdImpl()
- DeleteBidRuleCmdImpl default constructor.
DeleteBidRuleRequestProperties
public void DeleteBidRuleRequestProperties()
- Copies key-value input data into member fields.
- Parameters:
param
- com.ibm.commerce.datatype.TypedProperty- Throws:
ECApplicationException
-
getBidRuleList
public java.util.Vector getBidRuleList()
- Fetches the bid rule list.
- Returns:
- java.util.Vector
getResources
public AccessVector getResources()
throws ECException
- Gets the access vector accessed by this command.
The default implementation returns null indicating that no protectable resource is
accessed by this command. It is the responsibilities of the command writer to
return the protectable primary resource(s) and the corresponding actions accessed
by this command.
- Specified by:
getResources
in interface ECCommand
- Returns:
- AccessVector - a vector of resource action pairs
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Verifies that the this command is ready to be executed.
- Overrides:
isReadyToCallExecute
in class BidRuleBaseCmdImpl
- Returns:
- boolean true if command is ready, otherwise false.
performExecute
public void performExecute()
throws ECException
- Deletes a bid rule.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class BidRuleBaseCmdImpl
- Throws:
ECException
-
setBidRuleList
public void setBidRuleList(java.util.Vector newBidRuleList)
- Sets the bid rule list.
- Parameters:
newBidRuleList
- java.util.Vector
setRequestProperties
public void setRequestProperties(TypedProperty param)
throws ECApplicationException
- Copies key-value input data into member fields.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class BidRuleBaseCmdImpl
- Parameters:
param
- com.ibm.commerce.datatype.TypedProperty- Throws:
ECApplicationException
-