public static class ContentSearch.KeywordConstraint extends ContentSearch.ContentSearchConstraint
Modifier and Type | Field and Description |
---|---|
protected boolean |
anyPrefix |
protected boolean |
anySuffix |
static String |
constraintName |
protected boolean |
isAnd |
protected String |
keywordsString |
protected boolean |
removeStems |
Constructor and Description |
---|
KeywordConstraint(String keywordsString,
boolean anyPrefix,
boolean anySuffix,
Boolean removeStems,
boolean isAnd) |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(ContentSearch.ContentSearchContext contentSearchContext) |
boolean |
equals(Object obj) |
int |
hashCode() |
Set<String> |
makeFullKeywordSet(Delegator delegator) |
String |
prettyPrintConstraint(Delegator delegator,
boolean detailed,
Locale locale)
pretty print for log messages and even UI stuff
|
public static final String constraintName
protected String keywordsString
protected boolean anyPrefix
protected boolean anySuffix
protected boolean isAnd
protected boolean removeStems
public void addConstraint(ContentSearch.ContentSearchContext contentSearchContext)
addConstraint
in class ContentSearch.ContentSearchConstraint
public String prettyPrintConstraint(Delegator delegator, boolean detailed, Locale locale)
prettyPrintConstraint
in class ContentSearch.ContentSearchConstraint