org.alfresco.web.action.evaluator
Class WCMWorkflowDeletedEvaluator

java.lang.Object
  extended by org.alfresco.web.action.evaluator.BaseActionEvaluator
      extended by org.alfresco.web.action.evaluator.WCMLockEvaluator
          extended by org.alfresco.web.action.evaluator.WCMWorkflowDeletedEvaluator
All Implemented Interfaces:
java.io.Serializable, ActionEvaluator
Direct Known Subclasses:
WCMConflictEvaluator

public class WCMWorkflowDeletedEvaluator
extends WCMLockEvaluator

UI Action Evaluator - return true if the node is not part of an in-progress WCM workflow. No check for deleted items is made in this evaluator. @see WCMWorkflowEvaluator

See Also:
Serialized Form

Constructor Summary
WCMWorkflowDeletedEvaluator()
           
 
Method Summary
 boolean evaluate(Node node)
          The evaluator should decide if the action precondition is valid based on the appropriate logic and the properties 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

WCMWorkflowDeletedEvaluator

public WCMWorkflowDeletedEvaluator()
Method Detail

evaluate

public boolean evaluate(Node node)
Description copied from interface: ActionEvaluator
The evaluator should decide if the action precondition is valid based on the appropriate logic and the properties etc. of the Node context and return the result.

Specified by:
evaluate in interface ActionEvaluator
Overrides:
evaluate in class WCMLockEvaluator
Parameters:
node - Node context for the action
Returns:
true if the item is not locked by another user
See Also:
ActionEvaluator.evaluate(org.alfresco.web.bean.repository.Node)


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