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, 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 java.util.Vector getOutComponentList()
getOutComponentList
in interface AddOrderItemComponentsCmd
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 setComponents(java.lang.Long[] anCatentry)
setComponents
in interface AddOrderItemComponentsCmd
anCatentry
- an array of input catalog entry id.public void setConfigurationId(java.lang.String astrConfigurationId)
setConfigurationId
in interface AddOrderItemComponentsCmd
astrConfigurationId
- the input configuration id.public void setCurrency(java.lang.String astrCurrency)
setCurrency
in interface AddOrderItemComponentsCmd
astrCurrency
- the input currencypublic void setOrderItemId(java.lang.Long anOrderItemId)
setOrderItemId
in interface AddOrderItemComponentsCmd
anOrderItemId
- the input order item id.public void setPrices(java.math.BigDecimal[] anPrice)
setPrices
in interface AddOrderItemComponentsCmd
anPrice
- an array of input price.public void setQuantity(java.lang.Double[] anQuantity)
setQuantity
in interface AddOrderItemComponentsCmd
anQuantity
- an array of input quantity.public void setCompListIds(java.lang.String astrCompListIds)
setCompListIds
in interface AddOrderItemComponentsCmd
astrCompListIds
- 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.