Class 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 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