com.ibm.commerce.requisitionlist.commands
Class RequisitionListConfigurationAddCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.ControllerCommandImpl
-
- com.ibm.commerce.orderitems.commands.OrderConfigurationBaseCmdImpl
-
- com.ibm.commerce.orderitems.commands.OrderConfigurationAddCmdImpl
-
- com.ibm.commerce.requisitionlist.commands.RequisitionListConfigurationAddCmdImpl
-
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, OrderConfigurationAddCmd, OrderConfigurationUpdateCmd, RequisitionListConfigurationAddCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class RequisitionListConfigurationAddCmdImpl extends OrderConfigurationAddCmdImpl implements RequisitionListConfigurationAddCmd
This is the default implementation of theRequisitionListConfigurationAddCmd
controller command.Behavior:
- If configuration XML is available, it resolves each dynamic kit and its components from the configuration XML. Otherwise, it invokes catalog service to get pre-configuration of each dynamic kit
-
It invokes
DynamicKitConfigurationAddCmd
to record components of each dynamic kit. -
Then, it invokes
RequisitionListItemUpdateCmd
to add the dynamic kits to requisition list. -
At last, it invokes
CreateOrderItemConfigurationCmd
to record configuration XML for each requisition list item.
This command calls the following commands:
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.requisitionlist.commands.RequisitionListConfigurationAddCmd
defaultCommandClassName, NAME
-
Fields inherited from interface com.ibm.commerce.orderitems.commands.OrderConfigurationUpdateCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description RequisitionListConfigurationAddCmdImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
This method executes the business logic of this command implementation.-
Methods inherited from class com.ibm.commerce.orderitems.commands.OrderConfigurationAddCmdImpl
setRequestProperties, validateParameters
-
Methods inherited from class com.ibm.commerce.orderitems.commands.OrderConfigurationBaseCmdImpl
getNonBuyableCatentryIds, getOrderIds, getOrderItemIds, reset, setCatEntryId, setConfiguration, setOrderItemId, setQuantity
-
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.commerce.orderitems.commands.OrderConfigurationAddCmd
getNonBuyableCatentryIds, getOrderIds, getOrderItemIds, setCatEntryId, setConfiguration, setQuantity
-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequisitionListConfigurationAddCmdImpl
public RequisitionListConfigurationAddCmdImpl()
-
-
Method Detail
-
performExecute
public void performExecute() throws ECException
This method executes the business logic of this command implementation.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classOrderConfigurationAddCmdImpl
- Throws:
ECException
-
-