Class WorkEffortSearch.KeywordConstraint
- java.lang.Object
-
- org.apache.ofbiz.workeffort.workeffort.WorkEffortSearch.WorkEffortSearchConstraint
-
- org.apache.ofbiz.workeffort.workeffort.WorkEffortSearch.KeywordConstraint
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WorkEffortSearch
public static class WorkEffortSearch.KeywordConstraint extends WorkEffortSearch.WorkEffortSearchConstraint
- 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(WorkEffortSearch.WorkEffortSearchContext workEffortSearchContext)
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(WorkEffortSearch.WorkEffortSearchContext workEffortSearchContext)
- Specified by:
addConstraint
in classWorkEffortSearch.WorkEffortSearchConstraint
-
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 classWorkEffortSearch.WorkEffortSearchConstraint
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-