Class RuleSet

    • Constructor Detail

      • RuleSet

        public RuleSet()
    • Method Detail

      • setRules

        public void setRules​(List<RuleRef> rules)
        Set list of the rules "owned" by this rule set
        Parameters:
        rules - the list of rules to set
      • getRules

        public List<RuleRef> getRules()
        Get list of the rules "owned" by this rule set
        Returns:
        list of "owned" rules
      • setInheritedRules

        public void setInheritedRules​(List<RuleRef> inheritedRules)
        Set list of the rules inherited by this rule set from parent
        Parameters:
        inheritedRules - the list of inherited rules to set
      • getInheritedRules

        public List<RuleRef> getInheritedRules()
        Get list of the rules inherited by this rule set from parent
        Returns:
        list of inherited rules
      • setRulesetNodeRef

        public void setRulesetNodeRef​(org.alfresco.service.cmr.repository.NodeRef rulesetNodeRef)
        Set the nodeRef to which this ruleset belongs
        Parameters:
        rulesetNodeRef - the ruleset nodeRef to set
      • getRulesetNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getRulesetNodeRef()
        Get the nodeRef to which this ruleset belongs
        Returns:
        ruleset nodeRef
      • setLinkedToRuleSet

        public void setLinkedToRuleSet​(org.alfresco.service.cmr.repository.NodeRef linkedToRuleSet)
        Set the nodeRef to which this ruleset linked to
        Parameters:
        linkedToRuleSet - the nodeRef to set
      • getLinkedToRuleSet

        public org.alfresco.service.cmr.repository.NodeRef getLinkedToRuleSet()
        Get the nodeRef to which this ruleset linked to
        Returns:
        linked to nodeRef
      • setLinkedFromRuleSets

        public void setLinkedFromRuleSets​(List<org.alfresco.service.cmr.repository.NodeRef> linkedFromRuleSets)
        Set the list of nodeRefs that link to this ruleset
        Parameters:
        linkedFromRuleSets - the list of nodeRefs to set
      • getLinkedFromRuleSets

        public List<org.alfresco.service.cmr.repository.NodeRef> getLinkedFromRuleSets()
        Get the list of nodeRefs that link to this ruleset
        Returns:
        the list of nodeRefs