java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.command.BusinessPolicyCommandImpl
com.ibm.commerce.price.commands.ResolvePriceListsCmdImpl
This ResolvePriceListsCmd Task Command Implementation retrieves the price lists referenced by each of the input price business policies.
If the command is successful in retreiving the price lists, it will return a list of price lists with their assciated business policies.
If unsuccessful, it wil return an empty list.
Behaviour
Resolve the reference number of the price lists referenced by the input list of price business policies.
This command calls the following TaskCommands:
This command uses the following AccessBeans:Field Summary | |
static java.lang.String | CLASS_NAME Class name field. |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl |
policyId, requestProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.price.commands.ResolvePriceListsCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ResolvePriceListsCmdImpl() constrcutor |
Method Summary | |
java.util.Hashtable | getPolicyPriceLists() Returns a list of price business policies and their associated price lists. |
void | performExecute() Executes main business logic of the command. |
protected void | resolvePriceLists() Obtains the price list referenced by a list of input price business policies. |
void | setPricePolicyABs(BusinessPolicyAccessBean[] aPricePolicyABs) Sets the input price business policy access beans for determining the price lists. |
void | setRequestProperties(TypedProperty requestProperties) Sets the request properties for the policy. |
void | validateParameters() Checks mandatory parameters. |
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl |
getPolicyId, getRequestProperties, setPolicyId |
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 |
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand |
getPolicyId, getRequestProperties, setPolicyId |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
Constructor Detail |
public ResolvePriceListsCmdImpl()
Method Detail |
public java.util.Hashtable getPolicyPriceLists()
public void performExecute() throws ECException
protected void resolvePriceLists() throws ECException
public void setPricePolicyABs(BusinessPolicyAccessBean[] aPricePolicyABs)
public void setRequestProperties(TypedProperty requestProperties)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.