public class ParseSterlingConfigurationBOMCmdImpl extends TaskCommandImpl implements ParseDynamicKitConfigurationCmd
ParseDynamicKitConfigurationCmd
to parses Sterling Configuration XML.
It extracts partNumber, quantity of the dynamic kit and its components,
then resolves catEntryId by partNumber for current store.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICE
The
Price attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICE_DEFAULTVALUE
The default price of the component and dynamickit in the ConfiguratorBOM XML.
|
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICELOCK
The
Price attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICELOCK_DEFAULTVALUE
The default price lock of the component and dynamickit in the ConfiguratorBOM XML.
|
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_QUANTITY
The
Quantity attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
CONFIGURATOR_BOM_XML_ATTRIBUTE_SKU
The
SKU attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
CONFIGURATOR_BOM_XML_ELEMENT_LINE_ITEM
The
LineItem element name in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
CONFIGURATOR_BOM_XML_NODE_CONFIGURATOR_BOM
The
ConfiguratorBOM element name in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator. |
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ParseSterlingConfigurationBOMCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
getComp_catentryIds()
This method returns catEntryIds of dynamic kit components.
|
java.util.ArrayList<java.lang.String> |
getComp_priceLocks()
This method returns the price locks of components
|
java.util.ArrayList<java.lang.String> |
getComp_prices()
This method returns the prices of components.
|
java.util.ArrayList<java.lang.String> |
getComp_quantities()
This method returns quantities of dynamic kit components.
|
java.lang.String |
getDynamicKitCatEntryId()
This method returns catEntryId of dynamic kit.
|
java.lang.String |
getDynamicKitPrice()
This method returns the price of dynamic kit.
|
java.lang.String |
getDynamicKitPriceLock()
This method returns the price lock of dynamic kit.
|
java.lang.String |
getDynamicKitQuantity()
This method returns quantity of dynamic kit.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
setConfigXML(java.lang.String configurationXML)
This method sets the configuration XML to be parsed.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CONFIGURATOR_BOM_XML_NODE_CONFIGURATOR_BOM
ConfiguratorBOM
element name in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ELEMENT_LINE_ITEM
LineItem
element name in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_SKU
SKU
attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_QUANTITY
Quantity
attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICE
Price
attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICELOCK
Price
attribute in the ConfiguratorBOM XML generated from Sterling Dynamic Kit Configurator.public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICE_DEFAULTVALUE
public static final java.lang.String CONFIGURATOR_BOM_XML_ATTRIBUTE_PRICELOCK_DEFAULTVALUE
public ParseSterlingConfigurationBOMCmdImpl()
public java.util.ArrayList<java.lang.String> getComp_catentryIds()
getComp_catentryIds
in interface ParseDynamicKitConfigurationCmd
public java.util.ArrayList<java.lang.String> getComp_quantities()
getComp_quantities
in interface ParseDynamicKitConfigurationCmd
public java.lang.String getDynamicKitCatEntryId()
getDynamicKitCatEntryId
in interface ParseDynamicKitConfigurationCmd
public java.lang.String getDynamicKitQuantity()
getDynamicKitQuantity
in interface ParseDynamicKitConfigurationCmd
public java.util.ArrayList<java.lang.String> getComp_prices()
getComp_prices
in interface ParseDynamicKitConfigurationCmd
public java.util.ArrayList<java.lang.String> getComp_priceLocks()
getComp_priceLocks
in interface ParseDynamicKitConfigurationCmd
public java.lang.String getDynamicKitPrice()
getDynamicKitPrice
in interface ParseDynamicKitConfigurationCmd
public java.lang.String getDynamicKitPriceLock()
getDynamicKitPriceLock
in interface ParseDynamicKitConfigurationCmd
public void setConfigXML(java.lang.String configurationXML)
setConfigXML
in interface ParseDynamicKitConfigurationCmd
configurationXML
- The configuration XMLpublic void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException