public class DefaultPredicateOperandResolver extends Object implements PredicateOperandResolver
PredicateOperandResolver| Constructor and Description |
|---|
DefaultPredicateOperandResolver(PredicateOperandHandlerRegistry handlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryLiteral> |
getValues(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
isEmptyOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the operand represents an EMPTY operand.
|
boolean |
isFunctionOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand is a function call.
|
boolean |
isListOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand returns a list of values.
|
public DefaultPredicateOperandResolver(PredicateOperandHandlerRegistry handlerRegistry)
public List<QueryLiteral> getValues(ApplicationUser searcher, String field, Operand operand)
getValues in interface PredicateOperandResolversearcher - the User performing the lookupfield - a String representing the field over which you are searchingoperand - the Operand containing the values used to searchpublic boolean isEmptyOperand(ApplicationUser searcher, String field, Operand operand)
PredicateOperandResolverisEmptyOperand in interface PredicateOperandResolveroperand - the operand to check if it is a EMPTY operandpublic boolean isFunctionOperand(ApplicationUser searcher, String field, Operand operand)
PredicateOperandResolverisFunctionOperand in interface PredicateOperandResolveroperand - the operand to check. Cannot be null.public boolean isListOperand(ApplicationUser searcher, String field, Operand operand)
PredicateOperandResolverisListOperand in interface PredicateOperandResolveroperand - the operand to check. Cannot be null.Copyright © 2002-2023 Atlassian. All Rights Reserved.