Class RuleFinder
java.lang.Object
edu.internet2.middleware.grouper.rules.RuleFinder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<RuleDefinition>
find attribute def inherit rules by stem namestatic Set<RuleDefinition>
find folder inherit rules by stem namestatic Set<RuleDefinition>
find group inherit rules by stem namestatic Set<RuleDefinition>
findPrivilegeInheritRules
(boolean secure) find subject inherit rules by stem name.static Set<RuleDefinition>
findSubjectPrivilegeInheritRules
(Subject subject, boolean secure) find subject inherit rules by stem name.static Set<RuleDefinition>
retrieveRuleDefinitionsDeleteCountForGrouperObjects
(Set<GrouperObject> grouperObjects) finding rule definitions that refer to these objects but not defined in these objectsstatic Set<RuleDefinition>
retrieveRuleDefinitionsForGrouperObject
(GrouperObject grouperObject) get all the rule definitions that are associated with the given grouper object.static Set<RuleDefinition>
retrieveRuleDefinitionsForSubject
(Subject subject) static Set<RuleDefinition>
retrieveRuleDefinitionsToBeDeletedForGrouperObject
(GrouperObject grouperObject) get all the rule definitions that can be deleted when the given grouper object is deleted
-
Constructor Details
-
RuleFinder
public RuleFinder()
-
-
Method Details
-
findGroupPrivilegeInheritRules
find group inherit rules by stem name- Parameters:
stem
-- Returns:
- the rules
-
findPrivilegeInheritRules
find subject inherit rules by stem name. Note, the calling subject must be able to see the rules- Parameters:
secure
-- Returns:
- the rules
-
findSubjectPrivilegeInheritRules
find subject inherit rules by stem name. Note, the calling subject must be able to see the rules- Parameters:
subject
-secure
-- Returns:
- the rules
-
findFolderPrivilegeInheritRules
find folder inherit rules by stem name- Parameters:
stem
-- Returns:
- the rules
-
findAttributeDefPrivilegeInheritRules
find attribute def inherit rules by stem name- Parameters:
stem
-- Returns:
- the rules
-
retrieveRuleDefinitionsForSubject
-
retrieveRuleDefinitionsForGrouperObject
public static Set<RuleDefinition> retrieveRuleDefinitionsForGrouperObject(GrouperObject grouperObject) get all the rule definitions that are associated with the given grouper object.- Parameters:
grouperObject
-- Returns:
-
retrieveRuleDefinitionsDeleteCountForGrouperObjects
public static Set<RuleDefinition> retrieveRuleDefinitionsDeleteCountForGrouperObjects(Set<GrouperObject> grouperObjects) finding rule definitions that refer to these objects but not defined in these objects- Parameters:
grouperObjects
-- Returns:
-
retrieveRuleDefinitionsToBeDeletedForGrouperObject
public static Set<RuleDefinition> retrieveRuleDefinitionsToBeDeletedForGrouperObject(GrouperObject grouperObject) get all the rule definitions that can be deleted when the given grouper object is deleted- Parameters:
grouperObject
-- Returns:
-