1 17 package org.alfresco.repo.action; 18 19 import java.util.List ; 20 import java.util.Set ; 21 22 import org.alfresco.repo.action.ActionServiceImpl.PendingAction; 23 import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; 24 import org.alfresco.repo.action.executer.ActionExecuter; 25 import org.alfresco.service.cmr.action.Action; 26 import org.alfresco.service.cmr.action.CompositeAction; 27 import org.alfresco.service.cmr.repository.NodeRef; 28 29 32 public interface RuntimeActionService 33 { 34 AsynchronousActionExecutionQueue getAsynchronousActionExecutionQueue(); 35 36 void registerActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator); 37 38 void registerActionExecuter(ActionExecuter actionExecuter); 39 40 void populateCompositeAction(NodeRef compositeNodeRef, CompositeAction compositeAction); 41 42 48 void saveActionImpl(NodeRef owningNodeRef, NodeRef actionNodeRef, Action action); 49 50 56 public void executeActionImpl( 57 Action action, 58 NodeRef actionedUponNodeRef, 59 boolean checkConditions, 60 boolean executedAsynchronously, 61 Set <String > actionChain); 62 63 public void directActionExecution(Action action, NodeRef actionedUponNodeRef); 64 65 public List <PendingAction> getPostTransactionPendingActions(); 66 } 67 | Popular Tags |