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 ComposeOrderCmd
public void setPagingPrameter(ShowType argPagingParameter)
setPagingParameters(ShowType)
instead.setPagingPrameter
in interface ComposeOrderCmd
argPagingParameter
- The paging parameters to set.public ShowType getPagingParameters()
getPagingParameters
in interface ComposeOrderCmd
public void setPagingParameters(ShowType newPagingParameters)
setPagingParameters
in interface ComposeOrderCmd
newPagingParameters
- 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 ComposeOrderCmd
getOrder
- 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 beanSDO
public 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 OrderItemSOIDataBean
onlyProductID
- if only populate product IDSDO
public void setOrders(java.util.List avOrders)
setOrders
in interface ComposeOrderCmd
avOrders
- public java.util.List getOrders()
public ShowOrderType getShowOrder()
getShowOrder
in interface ComposeOrderCmd
public void setShowOrder(ShowOrderType aShowOrder)
aShowOrder
- the instance value of ShowOrderType.public void reset()
reset
in interface com.ibm.websphere.command.Command
Command.reset()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
Command.isReadyToCallExecute()