com.ibm.commerce.discount.rules.commands
Class ProductLevelPolicyTaskCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.discount.rules.commands.ProductLevelPolicyTaskCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, ProductLevelPolicyTaskCmd, TaskCommand
- public class ProductLevelPolicyTaskCmdImpl
- extends TaskCommandImpl
- implements ProductLevelPolicyTaskCmd
This is the default implementation of the ProductLevelPolicyTaskCmd
- 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
ProductLevelPolicyTaskCmdImpl
public ProductLevelPolicyTaskCmdImpl()
- Constructor for ProductLevelPolicyTaskCmdImpl.
validateParameters
public void validateParameters()
throws ECException
- Check the parameters.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException
getDiscounts
public java.util.Vector getDiscounts()
- Return a collection of discounts
-
- Specified by:
- getDiscounts in interface ProductLevelPolicyTaskCmd
-
- Returns:
- java.util.Vector
getSelectedDiscounts
public java.util.Vector getSelectedDiscounts()
- Return a collection of selected discounts.
-
- Specified by:
- getSelectedDiscounts in interface ProductLevelPolicyTaskCmd
-
- 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
- See Also:
- ECCommand#performExecute()
setDiscounts
public void setDiscounts(java.util.Vector discounts)
- Set discounts value
-
- Specified by:
- setDiscounts in interface ProductLevelPolicyTaskCmd
-
- Parameters:
- discounts - java.util.Vector
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.