Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.web.evaluator
Interface Evaluator
All Known Implementing Classes:
BaseEvaluator

public interface Evaluator
Contract supported by all classes that provide dynamic evaluation for a UI element.

Evaluators are supplied with a Node instance context object.

The evaluator should decide if the precondition is valid based on the appropriate logic and the properties etc. and return the result.

Author:
mikeh

Method Summary
boolean
evaluate(org.json.simple.JSONObject jsonObject)
          The evaluator should decide if the precondition is valid based on the appropriate logic and the state etc.
Method Detail
evaluate
boolean evaluate(org.json.simple.JSONObject jsonObject)
The evaluator should decide if the precondition is valid based on the appropriate logic and the state etc. of the given object and return the result.
Parameters:
jsonObject - The record the evaluation is for
Returns:
result of whether the evaluation succeeded or failed.

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.