public class PopulateOrderStatusListDataBeanCmdImpl extends DataBeanCommandImpl implements PopulateOrderStatusListDataBeanCmd, java.util.Comparator
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
PopulateOrderStatusListDataBeanCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int | compare(java.lang.Object o1, java.lang.Object o2)
Compares two Order SDOs.
|
protected int | compare(java.lang.String s1, java.lang.String s2)
Compares two strings.
|
protected com.ibm.commerce.order.datatypes.OrderType | composeOrder(OrderAccessBean aabOrder)
Composes an Order SDO from the order access bean specified by calling ComposeOrderCmd.
|
protected com.ibm.commerce.order.datatypes.OrderType[] | findExternalOrders()
Finds the submitted orders in an external system by calling GetOrderCmd.
|
protected OrderAccessBean[] | findOrderAccessBeans()
Find the submitted orders locally.
|
protected com.ibm.commerce.order.datatypes.OrderType[] | paginateOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
Paginate the orders based on the page size and page number specified.
|
void | performExecute()
Executes the business logic of this command implementation.
|
protected void | sortOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
Sorts the orders based on the sort key specified.
|
void | validateParameters()
Extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public PopulateOrderStatusListDataBeanCmdImpl()
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected OrderAccessBean[] findOrderAccessBeans() throws ECException
protected com.ibm.commerce.order.datatypes.OrderType composeOrder(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.order.datatypes.OrderType[] findExternalOrders() throws ECException
protected void sortOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
public int compare(java.lang.Object o1, java.lang.Object o2)
protected int compare(java.lang.String s1, java.lang.String s2)
protected com.ibm.commerce.order.datatypes.OrderType[] paginateOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)