Interface MemberOf
- All Known Implementing Classes:
BaseMemberOf
public interface MemberOf
All immediate subjects, and effective members are members.
No duplicates will be returned (e.g. if immediate and effective).
THIS IS AN ALPHA INTERFACE THAT MAY CHANGE AT ANY TIME.
- Since:
- 1.2.0
- Version:
- $Id: MemberOf.java,v 1.3 2009-06-09 22:55:40 shilen Exp $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComposite
(GrouperSession s, Group g, Composite c) A composite group is composed of two groups and a set operator (stored in grouper_composites table) (e.g.void
addImmediate
(GrouperSession s, Group g, Field f, Member _m) An immediate member is directly assigned to a group.void
addImmediate
(GrouperSession s, Stem ns, Field f, Member _m) An immediate member is directly assigned to a group.void
deleteComposite
(GrouperSession s, Group g, Composite c) A composite group is composed of two groups and a set operator (stored in grouper_composites table) (e.g.void
deleteImmediate
(GrouperSession s, Group g, Membership _ms, Member _m) An immediate member is directly assigned to a group.void
deleteImmediate
(GrouperSession s, Stem ns, Membership _ms, Member _m) An immediate member is directly assigned to a group.getSaves()
-
Method Details
-
addComposite
A composite group is composed of two groups and a set operator (stored in grouper_composites table) (e.g. union, intersection, etc). A composite group has no immediate members. All subjects in a composite group are effective members.- Throws:
IllegalStateException
- Since:
- 1.2.0
-
addImmediate
An immediate member is directly assigned to a group. A composite group has no immediate members. Note that a member can have 0 to 1 immediate memberships to a single group, and 0 to many effective memberships to a group. A group can have potentially unlimited effective memberships- Throws:
IllegalStateException
- Since:
- 1.2.0
-
addImmediate
An immediate member is directly assigned to a group. A composite group has no immediate members. Note that a member can have 0 to 1 immediate memberships to a single group, and 0 to many effective memberships to a group. A group can have potentially unlimited effective memberships- Throws:
IllegalStateException
- Since:
- 1.2.0
-
deleteComposite
A composite group is composed of two groups and a set operator (stored in grouper_composites table) (e.g. union, intersection, etc). A composite group has no immediate members. All subjects in a composite group are effective members.- Throws:
IllegalStateException
- Since:
- 1.2.0
-
deleteImmediate
void deleteImmediate(GrouperSession s, Group g, Membership _ms, Member _m) throws IllegalStateException An immediate member is directly assigned to a group. A composite group has no immediate members. Note that a member can have 0 to 1 immediate memberships to a single group, and 0 to many effective memberships to a group. A group can have potentially unlimited effective memberships- Throws:
IllegalStateException
- Since:
- 1.2.0
-
deleteImmediate
void deleteImmediate(GrouperSession s, Stem ns, Membership _ms, Member _m) throws IllegalStateException An immediate member is directly assigned to a group. A composite group has no immediate members. Note that a member can have 0 to 1 immediate memberships to a single group, and 0 to many effective memberships to a group. A group can have potentially unlimited effective memberships- Throws:
IllegalStateException
- Since:
- 1.2.0
-
getSaves
Set getSaves()- Since:
- 1.2.0
-
getModifiedGroups
Set getModifiedGroups()- Since:
- 1.2.0
-
getModifiedStems
Set getModifiedStems()- Since:
- 1.2.0
-
getDeletes
Set getDeletes()- Since:
- 1.2.0
-
getUpdates
Set<GrouperAPI> getUpdates()- Returns:
- updates to objects
- Since:
- 1.5.0
-
getGroupIdsWithNewMemberships
- Returns:
- set of group ids that have modified memberships
-
getStemIdsWithNewMemberships
- Returns:
- set of stem ids that have modified memberships
-