Class MembershipPathGroup
java.lang.Object
edu.internet2.middleware.grouper.membership.MembershipPathGroup
collection of membership paths for a subject in a group,
group privilege, stem privilege, or attribute privilege
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MembershipPathGroup
analyze
(AttributeDef attributeDef, Member member, Field field) analyze the membership/privilege of a member in a attributeDef by various pathsstatic MembershipPathGroup
analyze
(AttributeDef attributeDef, Member member, Field field, Subject callingSubject) analyze the membership/privilege of a member in a attributeDef by various pathsstatic MembershipPathGroup
analyze the membership/privilege of a member in a group by various pathsstatic MembershipPathGroup
analyze the membership/privilege of a member in a group by various pathsstatic MembershipPathGroup
analyze the membership/privilege of a member in a group by various pathsstatic MembershipPathGroup
analyze the membership/privilege of a member in a stem by various pathsstatic MembershipPathGroup
analyze the membership/privilege of a member in a stem by various pathsstatic MembershipPathGroup
analyzePrivileges
(AttributeDef attributeDef, Member member) analyze attributeDef privileges for a attributeDef and a memberstatic MembershipPathGroup
analyzePrivileges
(AttributeDef attributeDef, Member member, Subject callingSubject) analyze the privileges of a member in a attributeDef by various pathsstatic MembershipPathGroup
analyzePrivileges
(AttributeDef attributeDef, Subject subject) analyze attrDef privileges for an attrDef and a memberstatic MembershipPathGroup
analyzePrivileges
(Group group, Member member) analyze group privileges for a group and a memberstatic MembershipPathGroup
analyzePrivileges
(Group group, Member member, Subject callingSubject) analyze the privileges of a member in a group by various pathsstatic MembershipPathGroup
analyzePrivileges
(Group group, Subject subject) analyze group privileges for a group and a memberstatic MembershipPathGroup
analyzePrivileges
(Stem stem, Member member) analyze stem privileges for a stem and a memberstatic MembershipPathGroup
analyzePrivileges
(Stem stem, Member member, Subject callingSubject) analyze the privileges of a member in a stem by various pathsstatic MembershipPathGroup
analyzePrivileges
(Stem stem, Subject subject) analyze stem privileges for a stem and a membermember for this membershipwhat type e.g.set of membership pathsif this is an attributeDef privilege, this is the owner attribute defif this is a list or group privilege, this is the owner groupif this is a stem privilege, this is the owner stemboolean
true if member has membership in this ownerstatic void
void
member for this membershipvoid
setMembershipOwnerType
(MembershipOwnerType membershipOwnerType1) what type e.g.void
setMembershipPaths
(Set<MembershipPath> membershipPaths1) set of membership pathsvoid
setOwnerAttributeDef
(AttributeDef ownerAttributeDef1) if this is an attributeDef privilege, this is the owner attribute defvoid
setOwnerGroup
(Group ownerGroup1) if this is a list or group privilege, this is the owner groupvoid
setOwnerStem
(Stem ownerStem1) if this is a stem privilege, this is the owner stemtoString()
-
Constructor Details
-
MembershipPathGroup
public MembershipPathGroup()
-
-
Method Details
-
analyzePrivileges
analyze group privileges for a group and a member- Parameters:
group
-subject
-- Returns:
- the membershipPathGroup
-
analyzePrivileges
analyze group privileges for a group and a member- Parameters:
group
-member
-- Returns:
- the membershipPathGroup
-
isHasMembership
public boolean isHasMembership()true if member has membership in this owner- Returns:
- true if member has membership in this owner
-
analyze
analyze the membership/privilege of a member in a group by various paths- Parameters:
group
-subject
-field
-- Returns:
- the group of paths
-
analyze
analyze the membership/privilege of a member in a group by various paths- Parameters:
group
-member
-field
-- Returns:
- the group of paths
-
analyze
public static MembershipPathGroup analyze(Group group, Member member, Field field, Subject callingSubject, int timeToLive) analyze the membership/privilege of a member in a group by various paths- Parameters:
group
-member
-field
-callingSubject
-timeToLive
- prevent recursive loops- Returns:
- the group of paths
-
analyzePrivileges
public static MembershipPathGroup analyzePrivileges(Group group, Member member, Subject callingSubject) analyze the privileges of a member in a group by various paths- Parameters:
group
-member
-callingSubject
-- Returns:
- the group of paths
-
main
- Parameters:
args
-
-
toString
-
getMembershipPaths
set of membership paths- Returns:
- paths
-
setMembershipPaths
set of membership paths- Parameters:
membershipPaths1
-
-
getMember
member for this membership- Returns:
- member
-
setMember
member for this membership- Parameters:
member1
-
-
getOwnerGroup
if this is a list or group privilege, this is the owner group- Returns:
- group
-
setOwnerGroup
if this is a list or group privilege, this is the owner group- Parameters:
ownerGroup1
-
-
getOwnerStem
if this is a stem privilege, this is the owner stem- Returns:
- owner stem
-
setOwnerStem
if this is a stem privilege, this is the owner stem- Parameters:
ownerStem1
-
-
getOwnerAttributeDef
if this is an attributeDef privilege, this is the owner attribute def- Returns:
- attribute def
-
setOwnerAttributeDef
if this is an attributeDef privilege, this is the owner attribute def- Parameters:
ownerAttributeDef1
-
-
getMembershipOwnerType
what type e.g. list, or stemPrivilege- Returns:
- owner type
-
setMembershipOwnerType
what type e.g. list, or stemPrivilege- Parameters:
membershipOwnerType1
-
-
analyzePrivileges
analyze stem privileges for a stem and a member- Parameters:
stem
-subject
-- Returns:
- the membershipPathGroup
-
analyzePrivileges
analyze attrDef privileges for an attrDef and a member- Parameters:
attributeDef
-subject
-- Returns:
- the membershipPathGroup
-
analyze
analyze the membership/privilege of a member in a stem by various paths- Parameters:
stem
-member
-field
-- Returns:
- the group of paths
-
analyze
analyze the membership/privilege of a member in a attributeDef by various paths- Parameters:
attributeDef
-member
-field
-- Returns:
- the group of paths
-
analyze
public static MembershipPathGroup analyze(AttributeDef attributeDef, Member member, Field field, Subject callingSubject) analyze the membership/privilege of a member in a attributeDef by various paths- Parameters:
attributeDef
-member
-field
-callingSubject
-- Returns:
- the group of paths
-
analyze
public static MembershipPathGroup analyze(Stem stem, Member member, Field field, Subject callingSubject) analyze the membership/privilege of a member in a stem by various paths- Parameters:
stem
-member
-field
-callingSubject
-- Returns:
- the group of paths
-
analyzePrivileges
analyze stem privileges for a stem and a member- Parameters:
stem
-member
-- Returns:
- the membershipPathGroup
-
analyzePrivileges
public static MembershipPathGroup analyzePrivileges(Stem stem, Member member, Subject callingSubject) analyze the privileges of a member in a stem by various paths- Parameters:
stem
-member
-callingSubject
-- Returns:
- the group of paths
-
analyzePrivileges
analyze attributeDef privileges for a attributeDef and a member- Parameters:
attributeDef
-member
-- Returns:
- the membershipPathGroup
-
analyzePrivileges
public static MembershipPathGroup analyzePrivileges(AttributeDef attributeDef, Member member, Subject callingSubject) analyze the privileges of a member in a attributeDef by various paths- Parameters:
attributeDef
-member
-callingSubject
-- Returns:
- the group of paths
-