public class CopyOrderItemConfigurationForDynamicKitCmdImpl extends TaskCommandImpl implements CopyOrderItemConfigurationCmd
CopyOrderItemConfigurationCmd
interface.
It copies dynamic kit configuration from one order item to another order item.
It retrieves configuration data of the source order item, then invokes CreateOrderItemConfigurationCmd
to record the configuration data for the target order item.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CopyOrderItemConfigurationForDynamicKitCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets instance variables.
|
void |
setFromOrderItem(OrderItemAccessBean fromOrderItem)
This method sets order item from which configuration is copied.
|
void |
setToOrderItem(OrderItemAccessBean toOrderItem)
This method sets order item to which configuration is copied.
|
void |
validateParameters()
This method verifies the input parameters.
|
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public CopyOrderItemConfigurationForDynamicKitCmdImpl()
public void setFromOrderItem(OrderItemAccessBean fromOrderItem)
setFromOrderItem
in interface CopyOrderItemConfigurationCmd
fromOrderItem
- the order item from which configuration is copied.public void setToOrderItem(OrderItemAccessBean toOrderItem)
setToOrderItem
in interface CopyOrderItemConfigurationCmd
toOrderItem
- the order item to which configuration is copied.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand