Package org.apache.ofbiz.product.product
Class ProductSearch.SortProductPrice
- java.lang.Object
-
- org.apache.ofbiz.product.product.ProductSearch.ResultSortOrder
-
- org.apache.ofbiz.product.product.ProductSearch.SortProductPrice
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ProductSearch
public static class ProductSearch.SortProductPrice extends ProductSearch.ResultSortOrder
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
ascending
protected java.lang.String
currencyUomId
protected java.lang.String
productPriceTypeId
protected java.lang.String
productStoreGroupId
-
Constructor Summary
Constructors Constructor Description SortProductPrice(java.lang.String productPriceTypeId, boolean ascending)
SortProductPrice(java.lang.String productPriceTypeId, java.lang.String currencyUomId, java.lang.String productStoreGroupId, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOrderName()
boolean
isAscending()
java.lang.String
prettyPrintSortOrder(boolean detailed, java.util.Locale locale)
void
setSortOrder(ProductSearch.ProductSearchContext productSearchContext)
-
-
-
Method Detail
-
setSortOrder
public void setSortOrder(ProductSearch.ProductSearchContext productSearchContext)
- Specified by:
setSortOrder
in classProductSearch.ResultSortOrder
-
getOrderName
public java.lang.String getOrderName()
- Specified by:
getOrderName
in classProductSearch.ResultSortOrder
-
prettyPrintSortOrder
public java.lang.String prettyPrintSortOrder(boolean detailed, java.util.Locale locale)
- Specified by:
prettyPrintSortOrder
in classProductSearch.ResultSortOrder
-
isAscending
public boolean isAscending()
- Specified by:
isAscending
in classProductSearch.ResultSortOrder
-
-