|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.evaluator.BaseEvaluator
org.alfresco.web.evaluator.ChainedMatchAllEvaluator
public class ChainedMatchAllEvaluator
Calls multiple evaluators in turn until either the last one is called or one of the evaluators returns false. Effectively becomes a logical AND of the participating evaluators.
Field Summary |
---|
Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator |
---|
args, metadata, negateOutput |
Constructor Summary | |
---|---|
ChainedMatchAllEvaluator()
|
Method Summary | |
---|---|
boolean |
evaluate(org.json.simple.JSONObject jsonObject)
Run through each given evaluator until we either get to the end or one returns false |
void |
setEvaluators(java.util.ArrayList evaluators)
Evaluators to participate in the evaluation chain |
Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator |
---|
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedMatchAllEvaluator()
Method Detail |
---|
public void setEvaluators(java.util.ArrayList evaluators)
evaluators
- public boolean evaluate(org.json.simple.JSONObject jsonObject)
evaluate
in interface Evaluator
evaluate
in class BaseEvaluator
jsonObject
- The object the action is for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |