Package org.alfresco.rest.api.impl.rules
Class RuleSetsImpl
java.lang.Object
org.alfresco.rest.api.impl.rules.RuleSetsImpl
- All Implemented Interfaces:
RuleSets
-
Constructor Summary
Constructors -
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 foldervoidsetNodeService(NodeService nodeService) voidsetRuleService(RuleService ruleService) voidsetRuleSetLoader(RuleSetLoader ruleSetLoader) voidsetRuntimeRuleService(RuntimeRuleService runtimeRuleService) voidsetValidator(NodeValidator validator) voidunlinkRuleSet(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.
-
Constructor Details
-
RuleSetsImpl
public RuleSetsImpl()
-
-
Method Details
-
getRuleSets
public CollectionWithPagingInfo<RuleSet> getRuleSets(String folderNodeId, List<String> includes, Paging paging) Description copied from interface:RuleSetsGet rule sets for a folder.- Specified by:
getRuleSetsin interfaceRuleSets- Parameters:
folderNodeId- Folder node IDincludes- List of fields to include in the rule setpaging-Paginginformation- Returns:
CollectionWithPagingInfocontaining a list page of rule sets
-
getRuleSetById
Description copied from interface:RuleSetsGet the rule set with the given ID and check associations with the folder node.- Specified by:
getRuleSetByIdin interfaceRuleSets- Parameters:
folderNodeId- Folder node IDruleSetId- Rule set IDincludes- List of fields to include in the rule set- Returns:
RuleSetdefinition
-
updateRuleSet
Description copied from interface:RuleSetsUpdate a rule set - for example to reorder the rules within it.- Specified by:
updateRuleSetin interfaceRuleSets- 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
Description copied from interface:RuleSetsLink a rule set to a folder- Specified by:
linkToRuleSetin interfaceRuleSets
-
unlinkRuleSet
Description copied from interface:RuleSetsRemoves the link between a rule set and a folder- Specified by:
unlinkRuleSetin interfaceRuleSets
-
setRuleSetLoader
-
setValidator
-
setRuleService
-
setNodeService
-
setRuntimeRuleService
-