org.alfresco.repo.action
Interface RuntimeActionService

All Known Implementing Classes:
ActionServiceImpl

public interface RuntimeActionService


Method Summary
 Action createAction(NodeRef actionNodeRef)
           
 NodeRef createActionNodeRef(Action action, NodeRef parentNodeRef, QName assocTypeName, QName assocName)
           
 void directActionExecution(Action action, NodeRef actionedUponNodeRef)
          Execute an action directly
 void executeActionImpl(Action action, NodeRef actionedUponNodeRef, boolean checkConditions, boolean executedAsynchronously, java.util.Set actionChain)
           
 void postCommit()
           
 void registerActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
          Register an action condition evaluator
 void registerActionExecuter(ActionExecuter actionExecuter)
          Register an action executer
 void saveActionImpl(NodeRef actionNodeRef, Action action)
          Save action, used internally to store the details of an action on the aciton node.
 

Method Detail

postCommit

void postCommit()

registerActionConditionEvaluator

void registerActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
Register an action condition evaluator

Parameters:
actionConditionEvaluator - action condition evaluator

registerActionExecuter

void registerActionExecuter(ActionExecuter actionExecuter)
Register an action executer

Parameters:
actionExecuter - action executer

createAction

Action createAction(NodeRef actionNodeRef)

createActionNodeRef

NodeRef createActionNodeRef(Action action,
                            NodeRef parentNodeRef,
                            QName assocTypeName,
                            QName assocName)

saveActionImpl

void saveActionImpl(NodeRef actionNodeRef,
                    Action action)
Save action, used internally to store the details of an action on the aciton node.

Parameters:
actionNodeRef - the action node reference
action - the action

executeActionImpl

void executeActionImpl(Action action,
                       NodeRef actionedUponNodeRef,
                       boolean checkConditions,
                       boolean executedAsynchronously,
                       java.util.Set actionChain)
Parameters:
action -
actionedUponNodeRef -
checkConditions -

directActionExecution

void directActionExecution(Action action,
                           NodeRef actionedUponNodeRef)
Execute an action directly

Parameters:
action - the action
actionedUponNodeRef - the actioned upon node reference


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