public abstract class AbstractComposeOrderCmdImpl extends java.lang.Object implements ComposeOrderCmd
OrderType and ShowOrderType| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
AbstractComposeOrderCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
OrderType |
composeOrder(com.ibm.commerce.order.beans.OrderSOIDataBean dbOrder)
This method composes the Order
SDO with order total product after discount. |
OrderType |
composeOrderItem(java.util.List orderItems,
boolean onlyProductID)
This method composes the Order
SDO with order item product ID if onlyProductID is
true. |
java.util.List |
getOrders()
This method gets the list of orders.
|
ShowType |
getPagingParameters()
Returns the paging parameters.
|
ShowType |
getPagingPrameter()
Deprecated.
Use
getPagingParameters() instead. |
ShowOrderType |
getShowOrder()
This method gets the instance of ShowOrderType.
|
boolean |
isReadyToCallExecute()
This method returns if this command is ready to execute
|
void |
reset()
This method resets this command.
|
void |
setGetOrder(GetOrderType getOrder)
This method sets the
GetOrder verb, which contains the
XPath and parameters to control composition of noun-parts. |
void |
setOrders(java.util.List avOrders)
This method sets the list of orders.
|
void |
setPagingParameters(ShowType newPagingParameters)
Sets the paging parameters.
|
void |
setPagingPrameter(ShowType argPagingParameter)
Deprecated.
Use
setPagingParameters(ShowType)
instead. |
void |
setShowOrder(ShowOrderType aShowOrder)
This method sets the instance of ShowOrderType.
|
public static final java.lang.String COPYRIGHT
public ShowType getPagingPrameter()
getPagingParameters() instead.getPagingPrameter in interface ComposeOrderCmdpublic void setPagingPrameter(ShowType argPagingParameter)
setPagingParameters(ShowType)
instead.setPagingPrameter in interface ComposeOrderCmdargPagingParameter - The paging parameters to set.public ShowType getPagingParameters()
getPagingParameters in interface ComposeOrderCmdpublic void setPagingParameters(ShowType newPagingParameters)
setPagingParameters in interface ComposeOrderCmdnewPagingParameters - The paging parameters to set.public void setGetOrder(GetOrderType getOrder)
GetOrder verb, which contains the
XPath and parameters to control composition of noun-parts. This is the
same object passed into FetchOrdersCmd.setGetOrder(GetOrderType).setGetOrder in interface ComposeOrderCmdgetOrder - the GetOrder verb to set. Cannot be null.public OrderType composeOrder(com.ibm.commerce.order.beans.OrderSOIDataBean dbOrder)
SDO with order total product after discount.dbOrder - the order SOI data beanSDOpublic OrderType composeOrderItem(java.util.List orderItems, boolean onlyProductID)
SDO with order item product ID if onlyProductID is
true. If onlyProductID is false, the order item quantity and total product after discount will
also be populated.orderItems - a list of OrderItemSOIDataBeanonlyProductID - if only populate product IDSDOpublic void setOrders(java.util.List avOrders)
setOrders in interface ComposeOrderCmdavOrders - public java.util.List getOrders()
public ShowOrderType getShowOrder()
getShowOrder in interface ComposeOrderCmdpublic void setShowOrder(ShowOrderType aShowOrder)
aShowOrder - the instance value of ShowOrderType.public void reset()
reset in interface com.ibm.websphere.command.CommandCommand.reset()public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandCommand.isReadyToCallExecute()