public class AutoAuthCriteriaParser extends Object
| Constructor and Description |
|---|
AutoAuthCriteriaParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
parse(String criteria,
Map<String,? extends Object> attributes)
Parses the provided criteria expression, which must have a
boolean value.
|
public boolean parse(String criteria, Map<String,? extends Object> attributes) throws org.eurekaclinical.common.filter.CriteriaParseException
criteria - the criteria expression string. If null,
this method returns true.attributes - any user attribute-value pairs. The attribute names
may be used as variables.true if the provided criteria is null
or evaluates to true, false otherwise.CriteriaParseException - if an error occurred parsing the criteria
expression, most likely because the expression is invalid.Copyright © 2016–2018 Emory University. All rights reserved.