org.alfresco.web.action.evaluator
Class GroupActionEvaluator

java.lang.Object
  extended by org.alfresco.web.action.evaluator.BaseActionEvaluator
      extended by org.alfresco.web.action.evaluator.GroupActionEvaluator
All Implemented Interfaces:
java.io.Serializable, ActionEvaluator

public class GroupActionEvaluator
extends BaseActionEvaluator

Evaluator that determines whether the add group user action should be visible - only visible when the dialog is not showing the root group.

See Also:
Serialized Form

Constructor Summary
GroupActionEvaluator()
           
 
Method Summary
 boolean evaluate(java.lang.Object obj)
          The evaluator should decide if the action precondition is valid based on the appropriate logic and the state etc.
 
Methods inherited from class org.alfresco.web.action.evaluator.BaseActionEvaluator
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupActionEvaluator

public GroupActionEvaluator()
Method Detail

evaluate

public boolean evaluate(java.lang.Object obj)
Description copied from interface: ActionEvaluator
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.

Specified by:
evaluate in interface ActionEvaluator
Overrides:
evaluate in class BaseActionEvaluator
Parameters:
obj - The object the action is for
Returns:
result of whether the action can proceed.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.