public static class QueryHelper.WalkerCallbackAdapter extends Object implements QueryHelper.WalkerCallback
| Modifier and Type | Field and Description |
|---|---|
protected static InvalidQueryException |
UNSUPPORTED |
| Constructor and Description |
|---|
WalkerCallbackAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
and()
Called any time an AND is encountered.
|
void |
between(String propertyName,
String firstValue,
String secondValue,
boolean negated)
Called any time a BETWEEN clause is encountered.
|
void |
comparison(int type,
String propertyName,
String propertyValue,
boolean negated)
One of EQUALS LESSTHAN GREATERTHAN LESSTHANOREQUALS GREATERTHANOREQUALS;
|
void |
exists(String propertyName,
boolean negated)
Called any time an EXISTS clause is encountered.
|
void |
in(String propertyName,
boolean negated,
String... propertyValues)
Called any time an IN clause is encountered.
|
void |
matches(String property,
String value,
boolean negated)
Called any time a MATCHES clause is encountered.
|
void |
or()
Called any time an OR is encountered.
|
protected static final InvalidQueryException UNSUPPORTED
public void exists(String propertyName, boolean negated)
QueryHelper.WalkerCallbackexists in interface QueryHelper.WalkerCallbackpropertyName - Name of the propertynegated - returns true if "NOT EXISTS" was usedpublic void between(String propertyName, String firstValue, String secondValue, boolean negated)
QueryHelper.WalkerCallbackbetween in interface QueryHelper.WalkerCallbackpropertyName - Name of the propertyfirstValue - StringsecondValue - Stringnegated - returns true if "NOT BETWEEN" was usedpublic void comparison(int type,
String propertyName,
String propertyValue,
boolean negated)
QueryHelper.WalkerCallbackcomparison in interface QueryHelper.WalkerCallbackpublic void in(String propertyName, boolean negated, String... propertyValues)
QueryHelper.WalkerCallbackin in interface QueryHelper.WalkerCallbackpropertyName - Name of the propertynegated - returns true if "NOT IN" was usedpropertyValues - the property valuespublic void matches(String property, String value, boolean negated)
QueryHelper.WalkerCallbackmatches in interface QueryHelper.WalkerCallbackproperty - Name of the propertyvalue - Stringnegated - returns true if "NOT MATCHES" was usedpublic void and()
QueryHelper.WalkerCallbackand in interface QueryHelper.WalkerCallbackpublic void or()
QueryHelper.WalkerCallbackor in interface QueryHelper.WalkerCallbackCopyright © 2005–2018 Alfresco Software. All rights reserved.