com.ibm.commerce.discount.rules.commands
Class OrderLevelPolicyTaskCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.discount.rules.commands.OrderLevelPolicyTaskCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, OrderLevelPolicyTaskCmd, TaskCommand

public class OrderLevelPolicyTaskCmdImpl
extends TaskCommandImpl
implements OrderLevelPolicyTaskCmd

This is default implementation of OrderLevelPolicyTaskCmd.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.discount.rules.commands. OrderLevelPolicyTaskCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
OrderLevelPolicyTaskCmdImpl()
          Constructor for OrderLevelPolicyTaskCmdImpl
 
Method Summary
 java.util.Vector getDiscounts()
          Return the discounts.
 java.util.Vector getSelectedDiscounts()
          Return the Selected Discount.
 void performExecute()
          Command execution body.
 void setDiscounts(java.util.Vector discounts)
          Set the discounts value.
 void validateParameters()
          Check the input parameter.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

OrderLevelPolicyTaskCmdImpl

public OrderLevelPolicyTaskCmdImpl()
Constructor for OrderLevelPolicyTaskCmdImpl
Method Detail

validateParameters

public void validateParameters()
                        throws ECException
Check the input parameter.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
com.ibm.commerce.exception.ECException.
ECException

getDiscounts

public java.util.Vector getDiscounts()
Return the discounts.
Specified by:
getDiscounts in interface OrderLevelPolicyTaskCmd
Returns:
java.util.Vector

getSelectedDiscounts

public java.util.Vector getSelectedDiscounts()
Return the Selected Discount.
Specified by:
getSelectedDiscounts in interface OrderLevelPolicyTaskCmd
Returns:
java.util.Vector

performExecute

public void performExecute()
                    throws ECException
Command execution body.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - The exception description.
See Also:
ECCommand.performExecute()

setDiscounts

public void setDiscounts(java.util.Vector discounts)
Set the discounts value.
Specified by:
setDiscounts in interface OrderLevelPolicyTaskCmd
Parameters:
discounts - java.util.Vector