Package org.alfresco.rest.api
Interface RuleSets
- All Known Implementing Classes:
RuleSetsImpl
Rule sets API.
-
Method Summary
Modifier and TypeMethodDescriptiongetRuleSetById
(String folderNodeId, String ruleSetId, List<String> includes) Get the rule set with the given ID and check associations with the folder node.getRuleSets
(String folderNodeId, List<String> includes, Paging paging) Get rule sets for a folder.linkToRuleSet
(String folderNodeId, String linkToNodeId) Link a rule set to a foldervoid
unlinkRuleSet
(String folderNodeId, String ruleSetId) Removes the link between a rule set and a folderupdateRuleSet
(String folderNodeId, RuleSet ruleSet, List<String> includes) Update a rule set - for example to reorder the rules within it.
-
Method Details
-
getRuleSets
CollectionWithPagingInfo<RuleSet> getRuleSets(String folderNodeId, List<String> includes, Paging paging) Get rule sets for a folder.- Parameters:
folderNodeId
- Folder node IDpaging
-Paging
informationincludes
- List of fields to include in the rule set- Returns:
CollectionWithPagingInfo
containing a list page of rule sets
-
getRuleSetById
Get the rule set with the given ID and check associations with the folder node.- Parameters:
folderNodeId
- Folder node IDruleSetId
- Rule set IDincludes
- List of fields to include in the rule set- Returns:
RuleSet
definition
-
updateRuleSet
Update a rule set - for example to reorder the rules within it.- Parameters:
folderNodeId
- Folder node IDruleSet
- The updated rule set.includes
- List of fields to include in the response.- Returns:
- The updated rule set from the server.
-
linkToRuleSet
Link a rule set to a folder -
unlinkRuleSet
Removes the link between a rule set and a folder
-