public static interface QueryHelper.WalkerCallback
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 property,
boolean negated,
String... propertyValues)
Called any time an IN clause is encountered.
|
void |
matches(String property,
String propertyValue,
boolean negated)
Called any time a MATCHES clause is encountered.
|
void |
or()
Called any time an OR is encountered.
|
void exists(String propertyName, boolean negated)
propertyName
- Name of the propertynegated
- returns true if "NOT EXISTS" was usedvoid between(String propertyName, String firstValue, String secondValue, boolean negated)
propertyName
- Name of the propertyfirstValue
- StringsecondValue
- Stringnegated
- returns true if "NOT BETWEEN" was usedvoid comparison(int type, String propertyName, String propertyValue, boolean negated)
void in(String property, boolean negated, String... propertyValues)
property
- Name of the propertynegated
- returns true if "NOT IN" was usedpropertyValues
- the property valuesvoid matches(String property, String propertyValue, boolean negated)
property
- Name of the propertypropertyValue
- Stringnegated
- returns true if "NOT MATCHES" was usedvoid and()
void or()
Copyright © 2005–2017 Alfresco Software. All rights reserved.