Package org.apache.ofbiz.product.product
Class ProductSearch.FeatureCategoryConstraint
java.lang.Object
org.apache.ofbiz.product.product.ProductSearch.ProductSearchConstraint
org.apache.ofbiz.product.product.ProductSearch.FeatureCategoryConstraint
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProductSearch
public static class ProductSearch.FeatureCategoryConstraint
extends ProductSearch.ProductSearchConstraint
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(ProductSearch.ProductSearchContext productSearchContext) boolean
Gets exclude.Gets product feature category 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
-
FeatureCategoryConstraint
- Parameters:
productFeatureCategoryId
-exclude
- This is a tri-state variable: null = Include, true = Exclude, false = AlwaysInclude
-
-
Method Details
-
getProductFeatureCategoryId
Gets product feature category id.- Returns:
- the product feature category 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
-