Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.action.executer
Interface ActionExecuter
All Known Implementing Classes:
ActionExecuterAbstractBase

@org.alfresco.api.AlfrescoPublicApi
public interface ActionExecuter
Action executer interface
Author:
Roy Wetherall

Field Summary
PARAM_RESULT
          Standard action result parameter name
Method Summary
void
execute(Action action, NodeRef actionedUponNodeRef)
          Execute the action executer
getActionDefinition()
          Get the action definition for the action
boolean
getIgnoreLock()
          Indicates whether a lock on the actioned upon node reference should be ignored or not.
getQueueName()
          Get the queueName that will execute this action
boolean
getTrackStatus()
          Get whether the basic action definition supports action tracking or not.
Field Detail
PARAM_RESULT
public static final String PARAM_RESULT
Standard action result parameter name
See Also:
Constant Field Values
Method Detail
getQueueName
String getQueueName()
Get the queueName that will execute this action

getIgnoreLock
boolean getIgnoreLock()
Indicates whether a lock on the actioned upon node reference should be ignored or not. If true any lock is ignored and execution continues reguardless, otherwise the lock is checked and the action is not executed (ignored) if the actioned upon node reference is locked in any way. By default locks will be ignored.
Returns:
boolean true if ignore lock, false otherwise.
Since:
3.3.4

getTrackStatus
boolean getTrackStatus()
Get whether the basic action definition supports action tracking or not. This can be overridden for each action but if not, this value is used. Defaults to false.
Returns:
true to track action execution status or false (default) to do no action tracking
Since:
3.4.1

getActionDefinition
ActionDefinition getActionDefinition()
Get the action definition for the action
Returns:
the action definition

execute
void execute(Action action,
             NodeRef actionedUponNodeRef)
Execute the action executer
Parameters:
action - the action
actionedUponNodeRef - the actioned upon node reference

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.