public class FetchTransferredExternalOrderByStoreMemberAndStatusCmdImpl
extends com.ibm.commerce.order.facade.server.commands.FetchExternalOrderByStoreMemberAndStatusCmdImpl
/Order[OrderIdentifier[(ExternalOrderID=)] and OrderStatus[(Status=)]]
ExternalOrderID is for outbound service use only, it's used for paging.
Status is for internal get order service use only. For WC local orders fetch order by these statuses.This command composes the following XPath accordingly to call out bound service.
/Order[OrderIdentifier[(UniqueID=) or (ExternalOrderID=)] and StoreIdentifier[(UniqueID=)] and BuyerIdentifier[(LogOnID=)]]
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
FetchTransferredExternalOrderByStoreMemberAndStatusCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected GetOrderType | buildInternalRequest(java.lang.String[] arrStatuses, java.math.BigInteger bnStartNumber, int nMaxPageSizeToFetchFromInternal)
This method build request to FetchOrderCmd according to order statuses, start number and max page size.
|
protected java.util.List | buildOrderTypesFromOABList(java.util.List vOrders)
This method builds a List contains OrderType from a List contains OrderAccessBean.
|
protected GetType | buildOutboundRequest(java.util.HashMap hmNVPs)
This method build request to out bound service according to store name, member DNs and order statuses.
|
protected java.math.BigInteger | calcMaxPageSize(java.math.BigInteger maxItems) |
protected void | changeAccessProfile(GetType getVerb)
Store front sends request with "IBM_Summary" or "IBM_Details" as access profile, no matter if orders are got from external system.
|
protected java.util.List | fetchExternalOrders(java.lang.String externalOrderId, java.math.BigInteger bnMaxItems, java.lang.String strOrderIds)
This method fetches external orders.
|
protected java.util.Collection | fetchOrders(GetType getVerb)
This method fetches orders according to the selection criteria.
|
protected java.util.List | getAllInternalOrders(java.util.List vStatuses) |
void | performExecute()
This method performs the main logic.
|
public static final java.lang.String COPYRIGHT
public FetchTransferredExternalOrderByStoreMemberAndStatusCmdImpl()
public void performExecute() throws java.lang.Exception
protected java.util.Collection fetchOrders(GetType getVerb) throws java.lang.Exception
protected GetOrderType buildInternalRequest(java.lang.String[] arrStatuses, java.math.BigInteger bnStartNumber, int nMaxPageSizeToFetchFromInternal)
protected java.util.List getAllInternalOrders(java.util.List vStatuses) throws java.lang.Exception
protected java.math.BigInteger calcMaxPageSize(java.math.BigInteger maxItems)
protected java.util.List fetchExternalOrders(java.lang.String externalOrderId, java.math.BigInteger bnMaxItems, java.lang.String strOrderIds) throws java.lang.Exception
protected java.util.List buildOrderTypesFromOABList(java.util.List vOrders) throws java.lang.Exception
protected void changeAccessProfile(GetType getVerb)
protected GetType buildOutboundRequest(java.util.HashMap hmNVPs)