public class GetOrderExpressionBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_STR_ACCESS_PROFILE
The access profile.
|
static java.lang.String |
_STR_ORD_ID
The order Id parameter.
|
static java.lang.String |
_STR_ORD_STATUS
The order status.
|
static java.lang.String |
ACCESS_PROFILE
The access profile search parameter.
|
static java.lang.String |
COPYRIGHT
the IBM Copyright notice field.
|
static java.lang.String |
IBM_DETAILS
The string of Order details.
|
static java.lang.String |
IBM_SUMMARY
The string of Order summary.
|
static java.lang.String |
IBM_USABLEPAYMENTINFO
The string of Order usable payment information.
|
static java.lang.String |
IBM_USABLESHIPPINGINFO
The string of Order usable shipping information.
|
Constructor and Description |
---|
GetOrderExpressionBuilder() |
Modifier and Type | Method and Description |
---|---|
ExpressionType |
findByExternalOrderId(java.util.Map amNVPs)
Forms an expression to query orders by Id .
|
ExpressionType |
findByExternalQuoteId(java.util.Map amNVPs)
This is the out bound service to get quote detail by id.
|
ExpressionType |
findByOrderId(java.util.Map amNVPs)
Forms an expression to query orders by Id.
|
ExpressionType |
findByOrderStatus(java.util.Map amNVPs)
Forms an expression to query orders by status.
|
ExpressionType |
findConfigurationByOrderItemId(java.util.Map amNVPs)
This method forms an expression to query order item configuration by order item id.
|
ExpressionType |
findCurrentShoppingCart(java.util.Map amNVPs)
This method is used to form an expression to query current shopping cart.
|
ExpressionType |
findCurrentShoppingCart(java.util.Map amNVPs,
java.lang.String sortOrderItemBy)
This method is used to form an expression to query current shopping cart .
|
ExpressionType |
findExternalOrdersByStoreMemberAndStatus(java.util.Map amNVPs)
Forms an expression to query external orders by store name, member DNs and order statuses.
|
ExpressionType |
findExternalQuotesByStoreMemberAndStatus(java.util.Map amNVPs)
Forms an expression to query external quotes by store name, member DNs and order statuses.
|
ExpressionType |
findOrderByExternalIdAndStoreName(java.util.Map amNVPs)
Forms an expression to query order by external order id and store name.
|
ExpressionType |
findOrderByStoreMemberAndPlacedDate(java.util.Map amNVPs)
Forms an expression to query orders by store ID, member IDs and placed date.
|
ExpressionType |
findOrderItemByStoreMemberAndCreateDate(java.util.Map amNVPs)
Forms an expression to query order items by store ID,
member IDs and create date.
|
ExpressionType |
findQuoteByExternalIdAndStoreName(java.util.Map amNVPs)
Forms an expression to query quote by external quote id and store name.
|
ExpressionType |
findQuoteByStoreMemberAndPlacedDate(java.util.Map amNVPs)
Forms an expression to query quotes by store ID, member IDs and placed date.
|
ExpressionType |
findQuotesByStatus(java.util.Map amNVPs)
Forms an expression to query quotes by status.
|
ExpressionType |
findScheduledOrder(java.util.Map amNVPs)
Forms an expression to query scheduled orders by storeId, member id and start time.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String _STR_ORD_ID
public static final java.lang.String _STR_ORD_STATUS
public static final java.lang.String _STR_ACCESS_PROFILE
public static final java.lang.String ACCESS_PROFILE
public static final java.lang.String IBM_SUMMARY
public static final java.lang.String IBM_DETAILS
public static final java.lang.String IBM_USABLESHIPPINGINFO
public static final java.lang.String IBM_USABLEPAYMENTINFO
public ExpressionType findOrderByStoreMemberAndPlacedDate(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STR_ORD_STATUS
array of order statusesOrderFacadeConstants.STORE_ID
store IDOrderFacadeConstants.MEMBER_ID
array of member IDsOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.CONTROL_PARAMETER_DISPLAY_CURRENCY
the currency used to display the order amountOrderFacadeConstants.START_PLACED_DATE
the start of order placed dateOrderFacadeConstants.END_PLACED_DATE
the end of order placed date
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findQuoteByStoreMemberAndPlacedDate(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STORE_ID
store IDOrderFacadeConstants.MEMBER_ID
array of member IDsOrderFacadeConstants.STR_ORD_STATUS
array of order statusesOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.CONTROL_PARAMETER_DISPLAY_CURRENCY
the currency used to display the order amountOrderFacadeConstants.START_PLACED_DATE
the start of order placed dateOrderFacadeConstants.END_PLACED_DATE
the end of order placed date
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findExternalOrdersByStoreMemberAndStatus(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STORE_NAME
store nameOrderFacadeConstants.MEMBER_DN
array of member DNsOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.STR_ORD_STATUS
array of order status
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findExternalQuotesByStoreMemberAndStatus(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STORE_NAME
store nameOrderFacadeConstants.MEMBER_DN
array of member DNsOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.STR_ORD_STATUS
array of order status
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findOrderByExternalIdAndStoreName(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STORE_NAME
store nameOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.STR_EXT_ORD_ID
external order id
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findQuoteByExternalIdAndStoreName(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.STORE_NAME
store nameOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.STR_EXT_QOT_ID
external quote id
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findOrderItemByStoreMemberAndCreateDate(java.util.Map amNVPs)
The following parameters are expected:
name (key) valueOrderFacadeConstants.STR_ACCESS_PROFILE
array of access profilesOrderFacadeConstants.ORDER_ITEM_STATUS
array of order item statusesOrderFacadeConstants.STORE_ID
store IDOrderFacadeConstants.MEMBER_ID
array of member IDsOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.CONTROL_PARAMETER_DISPLAY_CURRENCY
the currency used to display the order amountOrderFacadeConstants.START_CREATE_DATE
the start of order item create dateOrderFacadeConstants.END_CREATE_DATE
the end of order item create date
amNVPs
- the parameters used to build the expression. Cannot be null.public ExpressionType findByOrderStatus(java.util.Map amNVPs)
The following values are expected:
name (key) value_STR_ORD_STATUS
array of order statuses_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language id
amNVPs
- Map which maps names of type String to values of type String[].
Cannot be null.public ExpressionType findQuotesByStatus(java.util.Map amNVPs)
The following values are expected:
name (key) value_STR_ORD_STATUS
array of order statuses_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language id
amNVPs
- Map which maps names of type String to values of type String[].
Cannot be null.public ExpressionType findByOrderId(java.util.Map amNVPs)
name (key) value_STR_ORD_ID
array of size one with the order id_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.PAGING_ON
the paging parameter (optional)
amNVPs
- Map which maps names of type String to values of type String[].
Cannot be null.public ExpressionType findCurrentShoppingCart(java.util.Map amNVPs)
The following values are expected:
name (key) value_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.PAGING_ON
the paging parameter (optional)
amNVPs
- Map which maps names of type String to values of type
String[]. Cannot be null.public ExpressionType findCurrentShoppingCart(java.util.Map amNVPs, java.lang.String sortOrderItemBy)
The following values are expected:
name (key) value_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STR_DATA_LANG_IDS
array of size one with language idOrderFacadeConstants.PAGING_ON
the paging parameter (optional)
amNVPs
- Map which maps names of type String to values of type
String[]. Cannot be null.sortOrderItemBy
- This parameter is used to sort the order items. If no value
passed for it, the order items will be sorted by the shipping
address identifier. Possible values: "orderItemID" indicates
that the order items in the order will be sorted by the order
item identifier. Currently, only "orderItemID" is supported.public ExpressionType findScheduledOrder(java.util.Map amNVPs)
name (key) value_STR_ACCESS_PROFILE
array of size one with access profileOrderFacadeConstants.STORE_ID
store IDOrderFacadeConstants.MEMBER_ID
member IDOrderFacadeConstants.ORDER_SCHEDULE_START_TIME
the start time of scheduled order (optional)
amNVPs
- Map which maps names of type String to values of type String[].
Cannot be null.public ExpressionType findByExternalOrderId(java.util.Map amNVPs)
amNVPs
- Map which maps names of type String to values of type
String[].
The following values are expected:
name (key) value orderId array of order Ids AccessProfile access profile
public ExpressionType findByExternalQuoteId(java.util.Map amNVPs)
amNVPs
- Map which maps names of type String to values of type
String[].
The following values are expected:
name (key) value orderId array of quote Ids ibmwcf array of size one with access profile
public ExpressionType findConfigurationByOrderItemId(java.util.Map amNVPs)
amNVPs
- Map which maps names of type String to values of type String[]. This should be null.
The following values are expected:
name (key) valueOrderFacadeConstants.ORDERITEM_ID
array of size one with order item idOrderFacadeConstants.STR_ACCESS_PROFILE
array of size one with access profile