public class AddOrderItemComponentsCmdImpl extends TaskCommandImpl implements AddOrderItemComponentsCmd
This command uses the following AccessBeans:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, ERRTASK_NAME, NAME| Constructor and Description |
|---|
AddOrderItemComponentsCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCompListIds()
Returns the oicomplist ids that is used to retrieve the oicomplist entries.
|
java.lang.Long[] |
getComponents()
Returns the list of Catalog Entries (components) that will be added to the OrderItem.
|
java.lang.String |
getConfigurationId()
Returns the Configuration id that is used to retrieve the components.
|
java.lang.String |
getCurrency()
Returns the currency for the price of the components.
|
OrderItemAccessBean |
getOrderItem()
Returns the order item access bean that the components will be added to.
|
java.lang.Long |
getOrderItemId()
Returns an OrderItem that the components will be added to.
|
java.util.Vector |
getOutComponentList()
Gets the output list of components that were created or updated.
|
java.math.BigDecimal[] |
getPrices()
Returns a list of price for the components that will be added to the OrderItem.
|
java.lang.Double[] |
getQuantity()
Returns a list of quantities of each Catalog Entry (component) that will be added to the OrderItem.
|
void |
performExecute()
The main entry point of the command.
|
void |
setCompListIds(java.lang.String astrCompListIds)
Sets the oicomplist ids that is used to retrieve the oicomplist entries.
|
void |
setComponents(java.lang.Long[] anCatentry)
Set a list of Catalog Entries (components) that will be added to the OrderItem.
|
void |
setConfigurationId(java.lang.String astrConfigurationId)
Sets the Configuration id that is used to retrieve the components
|
void |
setCurrency(java.lang.String astrCurrency)
(Optional)Sets the currency for the prices of the components.
|
void |
setOrderItem(OrderItemAccessBean aOrderItem)
Sets the order item access bean that the components will be added to.
|
void |
setOrderItemId(java.lang.Long anOrderItemId)
(Optional) Set an OrderItem that the components will be added to.
|
void |
setPrices(java.math.BigDecimal[] anPrice)
(Optional) Sets a list of prices for the components that will be added to the OrderItem.
|
void |
setQuantity(java.lang.Double[] anQuantity)
Set a list of quantities of each Catalog Entry (component) that will be added to the OrderItem.
|
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, validateParametersexecuteFromCache, 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, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public java.util.Vector getOutComponentList()
getOutComponentList in interface AddOrderItemComponentsCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException.ECExceptionpublic void setComponents(java.lang.Long[] anCatentry)
setComponents in interface AddOrderItemComponentsCmdanCatentry - an array of input catalog entry id.public void setConfigurationId(java.lang.String astrConfigurationId)
setConfigurationId in interface AddOrderItemComponentsCmdastrConfigurationId - the input configuration id.public void setCurrency(java.lang.String astrCurrency)
setCurrency in interface AddOrderItemComponentsCmdastrCurrency - the input currencypublic void setOrderItemId(java.lang.Long anOrderItemId)
setOrderItemId in interface AddOrderItemComponentsCmdanOrderItemId - the input order item id.public void setPrices(java.math.BigDecimal[] anPrice)
setPrices in interface AddOrderItemComponentsCmdanPrice - an array of input price.public void setQuantity(java.lang.Double[] anQuantity)
setQuantity in interface AddOrderItemComponentsCmdanQuantity - an array of input quantity.public void setCompListIds(java.lang.String astrCompListIds)
setCompListIds in interface AddOrderItemComponentsCmdastrCompListIds - the input component list ids.public java.lang.String getCompListIds()
public java.lang.Long[] getComponents()
public java.lang.String getConfigurationId()
public java.lang.String getCurrency()
public java.lang.Long getOrderItemId()
public java.math.BigDecimal[] getPrices()
public java.lang.Double[] getQuantity()
public OrderItemAccessBean getOrderItem()
public void setOrderItem(OrderItemAccessBean aOrderItem)
aOrderItem - the order item access bean.