Package org.apache.ofbiz.product.product
Class ProductSearch.FeatureConstraint
java.lang.Object
org.apache.ofbiz.product.product.ProductSearch.ProductSearchConstraint
org.apache.ofbiz.product.product.ProductSearch.FeatureConstraint
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProductSearch
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(ProductSearch.ProductSearchContext productSearchContext) boolean
Gets exclude.Gets product feature id.int
hashCode()
prettyPrintConstraint
(Delegator delegator, boolean detailed, Locale locale) pretty print for log messages and even UI stuffprettyPrintConstraint
(LocalDispatcher dispatcher, boolean detailed, Locale locale)
-
Constructor Details
-
FeatureConstraint
- Parameters:
productFeatureId
-exclude
- This is a tri-state variable: null = Include, true = Exclude, false = AlwaysInclude
-
-
Method Details
-
getProductFeatureId
Gets product feature id.- Returns:
- the product feature id
-
getExclude
Gets exclude.- Returns:
- the exclude
-
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
-