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. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
OrderLevelPolicyTaskCmdImpl
public OrderLevelPolicyTaskCmdImpl()
- Constructor for OrderLevelPolicyTaskCmdImpl
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
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.