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, setViewInputProperties
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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException.
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
setCatalogEntryId
in interface DynamicKitConfigurationAddCmd
astrCatalogEntryId
- A String that specifies the catalog entry id.public void setConfigurationComponents(java.lang.String[] astrarComponents)
setConfigurationComponents
in interface DynamicKitConfigurationAddCmd
astrarComponents
- A String[] that represents the list of configuration components.public void setConfigurationId(java.lang.String astrConfigurationId)
setConfigurationId
in interface DynamicKitConfigurationAddCmd
astrConfigurationId
- A String that specifies the configuration id.public void setCurrency(java.lang.String astrCurrency)
setCurrency
in interface DynamicKitConfigurationAddCmd
astrCurrency
- A String that specifies the currency.public void setMemberId(java.lang.String[] astrarMemberId)
setMemberId
in interface DynamicKitConfigurationAddCmd
astrarMemberId
- A String[] that represents the list of member id.public void setPartNumber(java.lang.String[] astrarPartNumber)
setPartNumber
in interface DynamicKitConfigurationAddCmd
astrarPartNumber
- A String[] that represents the list of part number.public void setPrices(java.lang.String[] astrarPrices)
setPrices
in interface DynamicKitConfigurationAddCmd
astrarPrices
- A String[] that represents the list of prices.public void setQuantities(java.lang.String[] astrarQuantities)
setQuantities
in interface DynamicKitConfigurationAddCmd
astrarQuantities
- A String[] that represents the list of quantities of the configuration components.public void setXMLDefinition(java.lang.String astrXMLDefinition)
setXMLDefinition
in interface DynamicKitConfigurationAddCmd
astrXMLDefinition
- A String that specifies the XML definition.public void setRequestProperties(TypedProperty reqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- A TypedProperty that represents the request properties.ECException.
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException