Class NodeRuleExecutionsRelation

java.lang.Object
org.alfresco.rest.api.rules.NodeRuleExecutionsRelation
All Implemented Interfaces:
RelationshipResourceAction.Create<RuleExecution>, ResourceAction, org.springframework.beans.factory.InitializingBean

@Experimental @RelationshipResource(name="rule-executions", entityResource=NodesEntityResource.class, title="Executing rules") public class NodeRuleExecutionsRelation extends Object implements RelationshipResourceAction.Create<RuleExecution>, org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • NodeRuleExecutionsRelation

      public NodeRuleExecutionsRelation(Rules rules)
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • create

      public List<RuleExecution> create(String folderNodeId, List<RuleExecution> ruleExecutionParameters, Parameters parameters)
      Execute rules for given folder node.
      Specified by:
      create in interface RelationshipResourceAction.Create<RuleExecution>
      Parameters:
      folderNodeId - - the ID of a folder
      ruleExecutionParameters - - rule execution parameters
      parameters - - additional request parameters
      Returns:
      execution details