Class RuleSet

java.lang.Object
org.alfresco.rest.api.model.rules.RuleSet

@Experimental public class RuleSet extends Object
  • Field Details

  • Constructor Details

    • RuleSet

      public RuleSet()
  • Method Details

    • of

      public static RuleSet of(String id)
    • isNotDefaultId

      public static boolean isNotDefaultId(String id)
    • isDefaultId

      public static boolean isDefaultId(String id)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getOwningFolder

      public NodeRef getOwningFolder()
    • setOwningFolder

      public void setOwningFolder(NodeRef owningFolder)
    • getInclusionType

      public InclusionType getInclusionType()
    • setInclusionType

      public void setInclusionType(InclusionType inclusionType)
    • getInheritedBy

      public List<NodeRef> getInheritedBy()
    • setInheritedBy

      public void setInheritedBy(List<NodeRef> inheritedBy)
    • getLinkedToBy

      public List<NodeRef> getLinkedToBy()
    • setLinkedToBy

      public void setLinkedToBy(List<NodeRef> linkedToBy)
    • setIsInherited

      public void setIsInherited(Boolean inherited)
      Set a flag indicating that the rule set is inherited by a folder.
      Parameters:
      inherited - The flag.
    • getIsInherited

      public Boolean getIsInherited()
      Find if the rule set is inherited by a folder.
      Returns:
      The value of the flag.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public static RuleSet.Builder builder()