public class DynamicKitConfigurationAddCmdImpl extends ControllerCommandImpl implements DynamicKitConfigurationAddCmd
DynamicKitConfigurationAddCmd controller command.
GetDynamicKitConfigurationDefinitionCmd task command
is called to parse the specified XML string to obtain overriding parameter values.
| Name | XPath | Description |
|---|---|---|
configurationId |
/XML/ConfigurationId | (Required) The unique configuration ID that represents this configuration. If xmlConfiguration is specified, a value in the XML for ConfigurationId overrides this parameter. |
catEntryId |
/XML/DynamicKitId | (Required) The ID of the dynamic kit catalog entry. If xmlConfiguration is specified, a value in the XML for DynamicKitId overrides this parameter. |
currency |
/XML/Currency | (Required if prices are specified) The currency in which the prices of the components within the dynamic kit are supplied. If xmlConfiguration is specified, a value in the XML for Currency overrides this parameter. |
URL |
/XML/WCSURL | (Required) The URL to be called when the command completes successfully. |
componentId |
/XML/WCSItemId | (Required only if partNumber is not provided) The ID of the catalog entry that represents a component of the dynamic kit. Specify a componentId for each component in the kit. If xmlConfiguration is specified, values in the XML for WCSItemId override this parameter. |
partNumber |
/XML/WCSPartNumber | (Required only if componentId is not provided. Do not specify if componentId is specified.) The part number of the catalog entry that represents a component of the dynamic kit. Specify a partNumber for each component in the kit. If xmlConfiguration is specified, values in the XML for WCSPartNumber override this parameter. |
memberId |
/XML/MemberId | If partNumber is specified then memberId is used to determine the componentId from the partnumber+memberid unique index. If not specified, memberId defaults to the memberId of the current store's organization. If xmlConfiguration is specified, values in the XML for MemberID override this parameter. |
quantity |
/XML/Quantity | (Required) The number of this component in the dynamic kit. If xmlConfiguration is specified, values in the XML for Quantity override this parameter. |
price |
/XML/UnitPrice | The price of this component. This value is optional; however, if a price is supplied for one component, then every other component also requires a price. If xmlConfiguration is specified, values in the XML for UnitPrice override this parameter. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
DynamicKitConfigurationAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the instance variables.
|
void |
setCatalogEntryId(java.lang.String astrCatalogEntryId)
This method sets the Catalog Entry Id.
|
void |
setConfigurationComponents(java.lang.String[] astrarComponents)
This method sets the list of configuration components.
|
void |
setConfigurationId(java.lang.String astrConfigurationId)
This method sets the configurationId.
|
void |
setCurrency(java.lang.String astrCurrency)
(Optional) This method sets the currency of the Prices for the configuration components.
|
void |
setMemberId(java.lang.String[] astrarMemberId)
(Optional) This method sets the list of member id for each of the configuration components.
|
void |
setPartNumber(java.lang.String[] astrarPartNumber)
(Optional) This method sets the list of part number for each of the configuration components.
|
void |
setPrices(java.lang.String[] astrarPrices)
(Optional) This method sets the list of prices for each of the configuration components.
|
void |
setQuantities(java.lang.String[] astrarQuantities)
This method sets the list of quantities of the configuration components.
|
void |
setRequestProperties(TypedProperty reqParms)
This method sets the request properties.
|
void |
setXMLDefinition(java.lang.String astrXMLDefinition)
This method sets the XML Definition of the configuration.
|
void |
validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException.ECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogEntryId(java.lang.String astrCatalogEntryId)
setCatalogEntryId in interface DynamicKitConfigurationAddCmdastrCatalogEntryId - A String that specifies the catalog entry id.public void setConfigurationComponents(java.lang.String[] astrarComponents)
setConfigurationComponents in interface DynamicKitConfigurationAddCmdastrarComponents - A String[] that represents the list of configuration components.public void setConfigurationId(java.lang.String astrConfigurationId)
setConfigurationId in interface DynamicKitConfigurationAddCmdastrConfigurationId - A String that specifies the configuration id.public void setCurrency(java.lang.String astrCurrency)
setCurrency in interface DynamicKitConfigurationAddCmdastrCurrency - A String that specifies the currency.public void setMemberId(java.lang.String[] astrarMemberId)
setMemberId in interface DynamicKitConfigurationAddCmdastrarMemberId - A String[] that represents the list of member id.public void setPartNumber(java.lang.String[] astrarPartNumber)
setPartNumber in interface DynamicKitConfigurationAddCmdastrarPartNumber - A String[] that represents the list of part number.public void setPrices(java.lang.String[] astrarPrices)
setPrices in interface DynamicKitConfigurationAddCmdastrarPrices - A String[] that represents the list of prices.public void setQuantities(java.lang.String[] astrarQuantities)
setQuantities in interface DynamicKitConfigurationAddCmdastrarQuantities - A String[] that represents the list of quantities of the configuration components.public void setXMLDefinition(java.lang.String astrXMLDefinition)
setXMLDefinition in interface DynamicKitConfigurationAddCmdastrXMLDefinition - A String that specifies the XML definition.public void setRequestProperties(TypedProperty reqParms) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - A TypedProperty that represents the request properties.ECException.ECExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException