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