com.elasticpath.domain.order
Interface AdvancedOrderSearchCriteria

All Known Implementing Classes:
AdvancedOrderSearchCriteriaImpl

public interface AdvancedOrderSearchCriteria

Represents criteria for advancec order search. Allow to specify criteria on order(order creation date range and order status), order customer(email, firstName, lastName and phoneNumber), shippin address zip / postal code, order sku code(if the order contains the sku with the specified sku code) and order shipment status.


Method Summary
 java.util.Map getCustomerCriteria()
          Get the map of order customer property name to criteria value.
 java.util.Date getOrderFromDate()
          Get the from date for order createDate search.
 int getOrderStatus()
          Get the order status criteria.
 java.util.Date getOrderToDate()
          Get the to date for order createDate search.
 java.util.Map getShipmentAddressCriteria()
          Get the map of order shipmentAddress property name to criteria value.
 int getShipmentStatus()
          Get the shipment status.
 java.lang.String getSkuCode()
          Get the sku code for search.
 void setCustomerCriteria(java.util.Map customerCriteria)
          Set the map of order customer property name to criteria value.
 void setOrderFromDate(java.util.Date orderFromDate)
          Set the from date for order createDate search.
 void setOrderStatus(int orderStatus)
          Set the order status criteria.
 void setOrderToDate(java.util.Date orderToDate)
          Set the to date for order createDate search.
 void setShipmentAddressCriteria(java.util.Map shipmentAddressCriteria)
          Set the map of order shipmentAddress property name to criteria value.
 void setShipmentStatus(int shipmentStatus)
          Set the shipment status.
 void setSkuCode(java.lang.String skuCode)
          Set the sku code for search.
 

Method Detail

getCustomerCriteria

java.util.Map getCustomerCriteria()
Get the map of order customer property name to criteria value.

Returns:
the map of order customer property name to criteria value

getOrderFromDate

java.util.Date getOrderFromDate()
Get the from date for order createDate search.

Returns:
the from date for order createDate search.

getOrderStatus

int getOrderStatus()
Get the order status criteria.

Returns:
the order status criteria.

getOrderToDate

java.util.Date getOrderToDate()
Get the to date for order createDate search.

Returns:
the to date for order createDate search.

getShipmentAddressCriteria

java.util.Map getShipmentAddressCriteria()
Get the map of order shipmentAddress property name to criteria value.

Returns:
the map of order shipmentAddress property name to criteria value

getShipmentStatus

int getShipmentStatus()
Get the shipment status.

Returns:
the shipment status.

getSkuCode

java.lang.String getSkuCode()
Get the sku code for search.

Returns:
the sku code for search.

setCustomerCriteria

void setCustomerCriteria(java.util.Map customerCriteria)
Set the map of order customer property name to criteria value.

Parameters:
customerCriteria - the map of order customer property name to criteria value

setOrderFromDate

void setOrderFromDate(java.util.Date orderFromDate)
Set the from date for order createDate search.

Parameters:
orderFromDate - the from date for order createDate search.

setOrderStatus

void setOrderStatus(int orderStatus)
Set the order status criteria.

Parameters:
orderStatus - the order status criteria.

setOrderToDate

void setOrderToDate(java.util.Date orderToDate)
Set the to date for order createDate search.

Parameters:
orderToDate - the to date for order createDate search.

setShipmentAddressCriteria

void setShipmentAddressCriteria(java.util.Map shipmentAddressCriteria)
Set the map of order shipmentAddress property name to criteria value.

Parameters:
shipmentAddressCriteria - the map of order shipmentAddress property name to criteria value

setShipmentStatus

void setShipmentStatus(int shipmentStatus)
Set the shipment status.

Parameters:
shipmentStatus - the shipment status.

setSkuCode

void setSkuCode(java.lang.String skuCode)
Set the sku code for search.

Parameters:
skuCode - the sku code for search.