Package org.apache.ofbiz.product.product
Class ProductSearch.ListPriceRangeConstraint
java.lang.Object
org.apache.ofbiz.product.product.ProductSearch.ProductSearchConstraint
org.apache.ofbiz.product.product.ProductSearch.ListPriceRangeConstraint
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProductSearch
public static class ProductSearch.ListPriceRangeConstraint
extends ProductSearch.ProductSearchConstraint
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionListPriceRangeConstraint
(BigDecimal lowPrice, BigDecimal highPrice, String currencyUomId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(ProductSearch.ProductSearchContext productSearchContext) boolean
Gets high price.Gets low price.int
hashCode()
prettyPrintConstraint
(Delegator delegator, boolean detailed, Locale locale) pretty print for log messages and even UI stuffprettyPrintConstraint
(LocalDispatcher dispatcher, boolean detailed, Locale locale)
-
Field Details
-
CONSTRAIN_NAME
- See Also:
-
-
Constructor Details
-
ListPriceRangeConstraint
-
-
Method Details
-
getLowPrice
Gets low price.- Returns:
- the low price
-
getHighPrice
Gets high price.- Returns:
- the high price
-
addConstraint
- Specified by:
addConstraint
in classProductSearch.ProductSearchConstraint
-
prettyPrintConstraint
Description copied from class:ProductSearch.ProductSearchConstraint
pretty print for log messages and even UI stuff- Specified by:
prettyPrintConstraint
in classProductSearch.ProductSearchConstraint
-
hashCode
public int hashCode() -
equals
-
prettyPrintConstraint
- Specified by:
prettyPrintConstraint
in classProductSearch.ProductSearchConstraint
-