|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.elasticpath.persistence.support.impl.OrderCriterionImpl
public class OrderCriterionImpl
Implementation of OrderCriterion that constructs the appropriate criteria for order queries.
Constructor Summary | |
---|---|
OrderCriterionImpl()
|
Method Summary | |
---|---|
java.lang.String |
getAdvancedOrderCriteria(AdvancedOrderSearchCriteria orderSearchCriteria)
Return the criteria used for advanced order search. |
java.lang.String |
getOrderCustomerCriteria(java.lang.String propertyName,
java.lang.String criteriaValue,
boolean isExactMatch)
Returns the criteria used to query by customer property of String type, i.e. |
java.lang.String |
getStatusCriteria(int orderStatus,
int paymentStatus,
int shippingStatus)
Returns the criteria used to query by status. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderCriterionImpl()
Method Detail |
---|
public java.lang.String getAdvancedOrderCriteria(AdvancedOrderSearchCriteria orderSearchCriteria)
getAdvancedOrderCriteria
in interface OrderCriterion
orderSearchCriteria
- the order search criteria.
public java.lang.String getOrderCustomerCriteria(java.lang.String propertyName, java.lang.String criteriaValue, boolean isExactMatch)
getOrderCustomerCriteria
in interface OrderCriterion
propertyName
- customer property to search on.criteriaValue
- criteria value to be used for searching.isExactMatch
- true for doing an exact match; false for doing a fuzzy match.
public java.lang.String getStatusCriteria(int orderStatus, int paymentStatus, int shippingStatus)
getStatusCriteria
in interface OrderCriterion
orderStatus
- the status of the orderpaymentStatus
- the status of the paymentshippingStatus
- the status of the shipping
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |