Class GrouperDeprovisioningAffiliation
java.lang.Object
edu.internet2.middleware.grouper.app.deprovisioning.GrouperDeprovisioningAffiliation
- All Implemented Interfaces:
Comparable<GrouperDeprovisioningAffiliation>
public class GrouperDeprovisioningAffiliation
extends Object
implements Comparable<GrouperDeprovisioningAffiliation>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
deprovisionMembership
(Membership membership) if you are in this group then it means you are a member of that cohortgetLabel()
label of affiliation from grouper.properties, e.g.get managers group oro null if not foundmanagersWhoCanDeprovision_get users members who have been deprovisionedget managers group oro null if not foundusersWhoHaveBeenDeprovisioned_get affiliations a subject managesretrieve all affiliations configured in the grouper.properties, will not return nullget the configured deprovisioning affiliationsvoid
setGroupNameMeansInAffiliation
(String groupNameMeansInAffiliation1) if you are in this group then it means you are a member of that cohortvoid
label of affiliation from grouper.properties, e.g.boolean
subjectIsManager
(Subject subject)
-
Constructor Details
-
GrouperDeprovisioningAffiliation
public GrouperDeprovisioningAffiliation()
-
-
Method Details
-
getLabel
label of affiliation from grouper.properties, e.g. "student" or "employee"- Returns:
- label
-
setLabel
label of affiliation from grouper.properties, e.g. "student" or "employee"- Parameters:
label1
-
-
getGroupNameMeansInAffiliation
if you are in this group then it means you are a member of that cohort- Returns:
- group name
-
setGroupNameMeansInAffiliation
if you are in this group then it means you are a member of that cohort- Parameters:
groupNameMeansInAffiliation1
-
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GrouperDeprovisioningAffiliation>
-
getManagersGroupName
managersWhoCanDeprovision_- Returns:
- managers group name
-
getUsersWhoHaveBeenDeprovisionedGroupName
usersWhoHaveBeenDeprovisioned_- Returns:
- users who have been deprovisioned
-
deprovisionMembership
- Parameters:
membership
-- Returns:
- true when subject is deprovisioned successfully, false otherwise.
-
getUsersWhoHaveBeenDeprovisioned
get users members who have been deprovisioned- Returns:
- users
-
getUsersWhoHaveBeenDeprovisionedGroup
get managers group oro null if not found- Returns:
- managers group
-
getManagersGroup
get managers group oro null if not found- Returns:
- managers group
-
subjectIsManager
- Parameters:
subject
-- Returns:
- true if manager
-
retrieveAllAffiliations
retrieve all affiliations configured in the grouper.properties, will not return null- Returns:
- the affiliations, alphabetical
-
retrieveDeprovisioningAffiliations
get the configured deprovisioning affiliations- Returns:
- the affiliations
-
retrieveAffiliationsForUserManager
public static Map<String,GrouperDeprovisioningAffiliation> retrieveAffiliationsForUserManager(Subject subject) get affiliations a subject manages- Parameters:
subject
- who is the manager- Returns:
- the affiliations
-