com.ibm.commerce.orderitems.commands
Class GetDynamicKitConfigurationDefinitionCmdImpl
- 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.TaskCommandImpl
-
- com.ibm.commerce.orderitems.commands.GetDynamicKitConfigurationDefinitionCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, GetDynamicKitConfigurationDefinitionCmd, 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 GetDynamicKitConfigurationDefinitionCmdImpl extends TaskCommandImpl implements GetDynamicKitConfigurationDefinitionCmd
This command is accepts an XML definition of a dynamic kit configuration as input and parses it to extract the configuration information. The configuration information is available as output parameters. This command uses the following AccessBeans:- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The internal copyright field.-
Fields inherited from interface com.ibm.commerce.orderitems.commands.GetDynamicKitConfigurationDefinitionCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description GetDynamicKitConfigurationDefinitionCmdImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]
getConfigurationComponents()
Gets the list of configuration components.java.lang.String
getConfigurationId()
Gets the Configuration Id.java.lang.String
getCurrency()
Gets the currency of the Prices for the configuration components.java.lang.String
getDynamicKitId()
Gets the Dynamic Kit Id.java.lang.String[]
getPrices()
Gets the list of prices for each of the configuration components.java.lang.String[]
getQuantities()
Gets the list of quantities of the configuration components.void
performExecute()
The main entry point of the command.void
reset()
Reset the instance variables.void
setXMLDefinition(java.lang.String astrXMLDefinition)
Sets the XML Definition of the configuration.-
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, validateParameters
-
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.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.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The internal copyright field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetDynamicKitConfigurationDefinitionCmdImpl
public GetDynamicKitConfigurationDefinitionCmdImpl()
-
-
Method Detail
-
getConfigurationComponents
public java.lang.String[] getConfigurationComponents()
Gets the list of configuration components.- Specified by:
getConfigurationComponents
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- java.lang.String[]
-
getConfigurationId
public java.lang.String getConfigurationId()
Gets the Configuration Id.- Specified by:
getConfigurationId
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- java.lang.String
-
getCurrency
public java.lang.String getCurrency()
Gets the currency of the Prices for the configuration components.- Specified by:
getCurrency
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- currency.
-
getDynamicKitId
public java.lang.String getDynamicKitId()
Gets the Dynamic Kit Id.- Specified by:
getDynamicKitId
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- java.lang.String
-
getPrices
public java.lang.String[] getPrices()
Gets the list of prices for each of the configuration components.- Specified by:
getPrices
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- java.lang.String[]
-
getQuantities
public java.lang.String[] getQuantities()
Gets the list of quantities of the configuration components.- Specified by:
getQuantities
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Returns:
- java.lang.String[]
-
performExecute
public void performExecute() throws ECException
The main entry point of the command.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
-
reset
public void reset()
Reset the instance variables.- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classAbstractECTargetableCommand
-
setXMLDefinition
public void setXMLDefinition(java.lang.String astrXMLDefinition)
Sets the XML Definition of the configuration. This definition is parsed to extract the configuration information.- Specified by:
setXMLDefinition
in interfaceGetDynamicKitConfigurationDefinitionCmd
- Parameters:
astrXMLDefinition
- java.jang.String
-
-