org.alfresco.repo.jscript
Class Actions

java.lang.Object
  extended by org.alfresco.repo.processor.BaseProcessorExtension
      extended by org.alfresco.repo.jscript.BaseScopableProcessorExtension
          extended by 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.


Constructor Summary
Actions()
           
 
Method Summary
 ScriptAction create(java.lang.String actionName)
          Create an Action
 java.lang.String[] getRegistered()
          Gets the list of registered action names
 void setServiceRegistry(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Actions

public Actions()
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


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