org.alfresco.web.action
Interface ActionEvaluator
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AddTranslationEvaluator, ApproveDocEvaluator, ApproveNonDraftDocEvaluator, BaseActionEvaluator, CancelCheckoutDocEvaluator, CancelEditingDocEvaluator, CancelWorkflowEvaluator, CheckinDocEvaluator, CheckoutDocEvaluator, CreateFormEvaluator, CreateForumMLNodeEvaluator, CreateForumNodeEvaluator, CreateProjectEvaluator, CreateWebFormEvaluator, CreateWebProjectEvaluator, CutNodeEvaluator, DeleteDocEvaluator, DiscussionCopyEvaluator, DiscussionCutEvaluator, DiscussNodeEvaluator, DoneEditingDocEvaluator, EditDocCIFSEvaluator, EditDocHttpEvaluator, EditDocOfflineEvaluator, EditDocOnlineCIFSEvaluator, EditDocOnlineHttpEvaluator, EditDocOnlineWebDavEvaluator, EditDocWebDavEvaluator, EditFormEvaluator, EditWebFormEvaluator, ForumsCheckinDocEvaluator, GroupActionEvaluator, MakeMultilingualEvaluator, ManagePermissionIsMainStoreEvaluator, MultilingualDetailsEvaluator, NewEditionEvaluator, RegenerateRenditionsEvaluator, RejectDocEvaluator, RejectNonDraftDocEvaluator, ShortcutNodeEvaluator, StartWorkflowEvaluator, TakeOwnershipDocEvaluator, UnlockDocEvaluator, UnlockedDocEvaluator, UpdateDocEvaluator, UploadNewVersionEvaluator, ViewPermissionEvaluator, WCMConflictEvaluator, WCMContentManagerEvaluator, WCMDeleteLayeredFolderEvaluator, WCMLayeredFolderEvaluator, WCMLockEvaluator, WCMStagingOnlyEvaluator, WCMStagingReadonlyEvaluator, WCMUnlockEvaluator, WCMWorkflowDeletedEvaluator, WCMWorkflowEvaluator, WCMWorkflowLayeredFolderEvaluator
public interface ActionEvaluator
- extends java.io.Serializable
Contract supported by all classes that provide dynamic evaluation for a UI action.
Evaluators are supplied with a Node instance context object.
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.
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. |
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. |
evaluate
boolean evaluate(Node node)
- 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.
- Parameters:
node
- Node context for the action
- Returns:
- result of whether the action can proceed.
evaluate
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. of the given object and return the result.
- 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.