Package org.apache.ofbiz.content.content
Class ContentSearch.KeywordConstraint
- java.lang.Object
-
- org.apache.ofbiz.content.content.ContentSearch.ContentSearchConstraint
-
- org.apache.ofbiz.content.content.ContentSearch.KeywordConstraint
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ContentSearch
public static class ContentSearch.KeywordConstraint extends ContentSearch.ContentSearchConstraint
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
anyPrefix
protected boolean
anySuffix
static java.lang.String
constraintName
protected boolean
isAnd
protected java.lang.String
keywordsString
protected boolean
removeStems
-
Constructor Summary
Constructors Constructor Description KeywordConstraint(java.lang.String keywordsString, boolean anyPrefix, boolean anySuffix, java.lang.Boolean removeStems, boolean isAnd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstraint(ContentSearch.ContentSearchContext contentSearchContext)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.util.Set<java.lang.String>
makeFullKeywordSet(Delegator delegator)
java.lang.String
prettyPrintConstraint(Delegator delegator, boolean detailed, java.util.Locale locale)
pretty print for log messages and even UI stuff
-
-
-
Field Detail
-
constraintName
public static final java.lang.String constraintName
- See Also:
- Constant Field Values
-
keywordsString
protected java.lang.String keywordsString
-
anyPrefix
protected boolean anyPrefix
-
anySuffix
protected boolean anySuffix
-
isAnd
protected boolean isAnd
-
removeStems
protected boolean removeStems
-
-
Method Detail
-
makeFullKeywordSet
public java.util.Set<java.lang.String> makeFullKeywordSet(Delegator delegator)
-
addConstraint
public void addConstraint(ContentSearch.ContentSearchContext contentSearchContext)
- Specified by:
addConstraint
in classContentSearch.ContentSearchConstraint
-
prettyPrintConstraint
public java.lang.String prettyPrintConstraint(Delegator delegator, boolean detailed, java.util.Locale locale)
pretty print for log messages and even UI stuff- Specified by:
prettyPrintConstraint
in classContentSearch.ContentSearchConstraint
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-