Class RuleSet

  • All Implemented Interfaces:
    java.io.Serializable

    public class RuleSet
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    unknown
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleSet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<RuleRef> getInheritedRules()
      Get list of the rules inherited by this rule set from parent
      java.util.List<org.alfresco.service.cmr.repository.NodeRef> getLinkedFromRuleSets()
      Get the list of nodeRefs that link to this ruleset
      org.alfresco.service.cmr.repository.NodeRef getLinkedToRuleSet()
      Get the nodeRef to which this ruleset linked to
      java.util.List<RuleRef> getRules()
      Get list of the rules "owned" by this rule set
      org.alfresco.service.cmr.repository.NodeRef getRulesetNodeRef()
      Get the nodeRef to which this ruleset belongs
      void setInheritedRules​(java.util.List<RuleRef> inheritedRules)
      Set list of the rules inherited by this rule set from parent
      void setLinkedFromRuleSets​(java.util.List<org.alfresco.service.cmr.repository.NodeRef> linkedFromRuleSets)
      Set the list of nodeRefs that link to this ruleset
      void setLinkedToRuleSet​(org.alfresco.service.cmr.repository.NodeRef linkedToRuleSet)
      Set the nodeRef to which this ruleset linked to
      void setRules​(java.util.List<RuleRef> rules)
      Set list of the rules "owned" by this rule set
      void setRulesetNodeRef​(org.alfresco.service.cmr.repository.NodeRef rulesetNodeRef)
      Set the nodeRef to which this ruleset belongs
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RuleSet

        public RuleSet()
    • Method Detail

      • setRules

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

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

        public void setInheritedRules​(java.util.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 java.util.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​(java.util.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 java.util.List<org.alfresco.service.cmr.repository.NodeRef> getLinkedFromRuleSets()
        Get the list of nodeRefs that link to this ruleset
        Returns:
        the list of nodeRefs