public abstract class AbstractFetchOrdersSOICmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements FetchOrdersCmd
The following XPath queries can be processed by this command:
/Order[OrderStatus[(Status=$status$)]] {ibmord.isCurrentShoppingCart=$isCurrentShoppingCart$}/Order /Order[OrderIdentifier[(UniqueID=$orderId$)]]
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.util.logging.Logger | LOGGER
The logger of the class.
|
Constructor and Description |
---|
AbstractFetchOrdersSOICmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | buildOrderStatusList(java.util.List alOrderStatuses)
Builds a list of status in the format of a comma-delimited string.
|
protected java.lang.String | buildOrderTypeList(java.util.List alOrderTypes)
Builds a list of types in the format of a comma-delimited string.
|
protected int | calcEnd(int originalLength, int start, java.math.BigInteger pageSize)
Calculates the index that can be used to identify the end of a page during pagination.
|
protected java.math.BigInteger | calcPageSize(int originalLength, java.math.BigInteger maxItems, int start)
Calculates the page size for an array or list to be paginated.
|
protected int | calcStart(int originalLength, java.math.BigInteger recordSetStartNumber)
Calculates the start position for an array or list to be paginated.
|
protected abstract java.util.Collection | fetchOrders(GetType get)
This method fetches the orders.
|
protected CommandContext | getCommandContext()
Returns the command context.
|
GetOrderType | getGetOrderType()
This method gets the value of GetOrderType.
|
java.util.List | getOrders()
This method gets the list of order access beans.
|
java.util.List | getOrders(java.util.List vOrders, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems)
This methods gets a certain number of orders, with pagination performed.
|
ShowType | getPagingParameters()
Returns the paging parameters.
|
ShowType | getPagingPrameter()
Deprecated.
Use getPagingParameters() instead.
|
ResolveOrdersCmd | getResolveOrdersCmd()
This method returns the instance of ResolveOrdersCmd.
|
SelectionCriteriaMapper | getSelectionCriteria()
This method gets the selection criteria.
|
protected OrderListDataBean | initOrderListDataBean()
This method initializes the instance of OrderListDataBean.
|
boolean | isReadyToCallExecute() |
protected java.util.Date | parseDate(java.lang.String dateStr)
This method parses an XML dateTime into a Date object.
|
void | performExecute() |
void | reset() |
void | setGetOrder(GetOrderType getOrder)
This method sets the value of GetOrderType.
|
void | setPagingParameters(ShowType newPagingParameters)
Sets the paging parameters.
|
void | setPagingPrameter(ShowType argPagingParameter)
Deprecated.
Use setPagingParameters(ShowType) instead.
|
void | setSelectionCriteria(SelectionCriteriaMapper aSelectionCriteria)
This method set the selection criteria.
|
public static final java.lang.String COPYRIGHT
public static final java.util.logging.Logger LOGGER
protected abstract java.util.Collection fetchOrders(GetType get) throws java.lang.Exception
protected CommandContext getCommandContext()
protected java.lang.String buildOrderStatusList(java.util.List alOrderStatuses)
protected java.lang.String buildOrderTypeList(java.util.List alOrderTypes)
protected OrderListDataBean initOrderListDataBean()
public boolean isReadyToCallExecute()
public void reset()
public void setGetOrder(GetOrderType getOrder)
public GetOrderType getGetOrderType()
public java.util.List getOrders()
public java.util.List getOrders(java.util.List vOrders, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems)
protected final int calcEnd(int originalLength, int start, java.math.BigInteger pageSize)
protected final java.math.BigInteger calcPageSize(int originalLength, java.math.BigInteger maxItems, int start)
protected final int calcStart(int originalLength, java.math.BigInteger recordSetStartNumber)
public void performExecute() throws java.lang.Exception
public ResolveOrdersCmd getResolveOrdersCmd()
public ShowType getPagingPrameter()
public void setPagingPrameter(ShowType argPagingParameter)
public ShowType getPagingParameters()
public void setPagingParameters(ShowType newPagingParameters)
public SelectionCriteriaMapper getSelectionCriteria()
public void setSelectionCriteria(SelectionCriteriaMapper aSelectionCriteria)
protected java.util.Date parseDate(java.lang.String dateStr)