Package org.apache.ofbiz.product.product
Class ProductSearch.KeywordConstraint
java.lang.Object
org.apache.ofbiz.product.product.ProductSearch.ProductSearchConstraint
org.apache.ofbiz.product.product.ProductSearch.KeywordConstraint
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProductSearch
- See Also:
-
Constructor Summary
ConstructorDescriptionKeywordConstraint
(String keywordsString, boolean anyPrefix, boolean anySuffix, Boolean removeStems, boolean isAnd) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(ProductSearch.ProductSearchContext productSearchContext) boolean
Gets keywords string.int
hashCode()
boolean
isAnd()
Is and boolean.boolean
Is any prefix boolean.boolean
Is any suffix boolean.makeFullKeywordSet
(Delegator delegator) Make full keyword set set.prettyPrintConstraint
(Delegator delegator, boolean detailed, Locale locale) pretty print for log messages and even UI stuffprettyPrintConstraint
(LocalDispatcher dispatcher, boolean detailed, Locale locale)
-
Constructor Details
-
KeywordConstraint
-
-
Method Details
-
getKeywordsString
Gets keywords string.- Returns:
- the keywords string
-
isAnyPrefix
public boolean isAnyPrefix()Is any prefix boolean.- Returns:
- the boolean
-
isAnySuffix
public boolean isAnySuffix()Is any suffix boolean.- Returns:
- the boolean
-
isAnd
public boolean isAnd()Is and boolean.- Returns:
- the boolean
-
makeFullKeywordSet
Make full keyword set set.- Parameters:
delegator
- the delegator- Returns:
- the set
-
addConstraint
- Specified by:
addConstraint
in classProductSearch.ProductSearchConstraint
-
prettyPrintConstraint
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
-