Package org.alfresco.repo.jscript
Class Actions
- java.lang.Object
-
- org.alfresco.repo.processor.BaseProcessorExtension
-
- org.alfresco.repo.jscript.BaseScopableProcessorExtension
-
- org.alfresco.repo.jscript.Actions
-
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,Scopeable
public final class Actions extends BaseScopableProcessorExtension
Scripted Action service for describing and executing actions against Nodes.- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description Actions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptActioncreate(java.lang.String actionName)Create an Actionjava.lang.String[]getRegistered()Gets the list of registered action namesvoidsetServiceRegistry(ServiceRegistry serviceRegistry)Set the service registry-
Methods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScope
-
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
-
-
-
Method Detail
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry- Parameters:
serviceRegistry- the service registry
-
getRegistered
public java.lang.String[] getRegistered()
Gets the list of registered action names- Returns:
- the registered action names
-
create
public ScriptAction create(java.lang.String actionName)
Create an Action- Parameters:
actionName- the action name- Returns:
- the action
-
-