Class MembershipSubjectContainer
java.lang.Object
edu.internet2.middleware.grouper.membership.MembershipSubjectContainer
in a list of memberships, this is one subject. this only works when filtering for one owner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMembership
(String fieldName, MembershipAssignType newMembershipAssignType) consider a new membershipvoid
consider inheritance in one groupstatic void
considerAccessPrivilegeInheritance
(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for groupstatic void
considerAttributeDefPrivilegeInheritance
(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for attributeDefstatic void
considerNamingPrivilegeInheritance
(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for stemstatic Set<MembershipSubjectContainer>
convertFromMembershipsOwnersMembers
(Set<Object[]> memberships, Collection<Field> fields, boolean includeInheritedPrivileges) convert memberships into membership subject containersattribute def owner of membershipgroup owner of this membershipsmemberstem owner of this membershipsboolean
if optout exists for this rowboolean
if there is a non immediate in all the fieldsboolean
if optout exists for this rowboolean
if update exists for this rowvoid
setAllMemberships
(Map<String, List<Membership>> allMemberships) void
setAttributeDefOwner
(AttributeDef attributeDefOwner1) attribute def owner of membershipvoid
setGroupOwner
(Group groupOwner1) group owner of this membershipsvoid
membervoid
setMembershipContainers
(Map<String, MembershipContainer> privilegeContainers1) void
setStemOwner
(Stem stemOwner1) stem owner of this membershipsvoid
setSubject
(Subject subject1) toString()
-
Constructor Details
-
MembershipSubjectContainer
public MembershipSubjectContainer()
-
-
Method Details
-
considerAccessPrivilegeInheritance
public void considerAccessPrivilegeInheritance()consider inheritance in one group -
isHasNonImmediate
public boolean isHasNonImmediate()if there is a non immediate in all the fields- Returns:
- true if has non immediate
-
isHasUpdate
public boolean isHasUpdate()if update exists for this row- Returns:
- true if update exists for this row
-
isHasOptout
public boolean isHasOptout()if optout exists for this row- Returns:
- true if optout exists for this row
-
isCanOptout
public boolean isCanOptout()if optout exists for this row- Returns:
- true if optout exists for this row
-
getStemOwner
stem owner of this memberships- Returns:
- stem owner
-
setStemOwner
stem owner of this memberships- Parameters:
stemOwner1
-
-
getAttributeDefOwner
attribute def owner of membership- Returns:
- attribute def
-
setAttributeDefOwner
attribute def owner of membership- Parameters:
attributeDefOwner1
-
-
getGroupOwner
group owner of this memberships- Returns:
- group or null
-
setGroupOwner
group owner of this memberships- Parameters:
groupOwner1
-
-
considerNamingPrivilegeInheritance
public static void considerNamingPrivilegeInheritance(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for stem- Parameters:
membershipSubjectContainers
-
-
addMembership
consider a new membership- Parameters:
fieldName
-membershipAssignType
-
-
getMember
member- Returns:
- the member
-
setMember
member- Parameters:
member1
-
-
getMembershipContainers
-
getAllMemberships
- Returns:
- all memberships for field
-
setAllMemberships
- Parameters:
allMemberships
-
-
getSubject
- See Also:
-
setSubject
- Parameters:
subject1
- the subject to set
-
setMembershipContainers
- Parameters:
privilegeContainers1
- the privilegeContainers to set
-
toString
-
considerAttributeDefPrivilegeInheritance
public static void considerAttributeDefPrivilegeInheritance(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for attributeDef- Parameters:
membershipSubjectContainers
-
-
considerAccessPrivilegeInheritance
public static void considerAccessPrivilegeInheritance(Set<MembershipSubjectContainer> membershipSubjectContainers) add effective memberships for inheritance of privileges or GrouperAll for group- Parameters:
membershipSubjectContainers
-
-
convertFromMembershipsOwnersMembers
public static Set<MembershipSubjectContainer> convertFromMembershipsOwnersMembers(Set<Object[]> memberships, Collection<Field> fields, boolean includeInheritedPrivileges) convert memberships into membership subject containers- Parameters:
memberships
-fields
-includeInheritedPrivileges
-- Returns:
- the containers per user
-