Fixed issue with actions on manage groups dialog I introduced recently

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-10-05 09:00:20 +00:00
parent 219d0738ef
commit 7f31e1a888
38 changed files with 197 additions and 73 deletions

View File

@@ -47,4 +47,14 @@ public interface ActionEvaluator
* @return result of whether the action can proceed.
*/
public boolean evaluate(Node node);
/**
* The evaluator should decide if the action precondition is valid based on the appropriate
* logic and the state etc. of the given object and return the result.
*
* @param obj The object the action is for
*
* @return result of whether the action can proceed.
*/
public boolean evaluate(Object obj);
}