|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderCriterion
OrderCriterion
generates the proper criteria for order domain object.
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. |
Method Detail |
---|
java.lang.String getAdvancedOrderCriteria(AdvancedOrderSearchCriteria orderSearchCriteria)
orderSearchCriteria
- the order search criteria.
java.lang.String getOrderCustomerCriteria(java.lang.String propertyName, java.lang.String criteriaValue, boolean isExactMatch)
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.
java.lang.String getStatusCriteria(int orderStatus, int paymentStatus, int shippingStatus)
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 |