Class ScriptAction

    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the action name
        Returns:
        action name
      • getParameters

        public java.util.Map<java.lang.String,​java.io.Serializable> getParameters()
        Return all the properties known about this node. The Map returned implements the Scriptable interface to allow access to the properties via JavaScript associative array access. This means properties of a node can be access thus: node.properties["name"]
        Returns:
        Map of properties for this Node.
      • execute

        public void execute​(ScriptNode node)
        Execute action. The existing transaction will be joined.
        Parameters:
        node - the node to execute action upon
      • executeAsynchronously

        public void executeAsynchronously​(ScriptNode node)
        Execute action. The existing transaction will be joined.
        Parameters:
        node - the node to execute action upon
      • executeImpl

        protected void executeImpl​(ScriptNode node)
      • executeAsynchronouslyImpl

        protected void executeAsynchronouslyImpl​(ScriptNode node)
      • execute

        public void execute​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Execute action. The existing transaction will be joined.
        Parameters:
        nodeRef - the node to execute action upon
      • performParamConversionForRepo

        protected void performParamConversionForRepo()