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 Details

    • addComposite

      void addComposite(GrouperSession s, Group g, Composite c) throws IllegalStateException
      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

      void addImmediate(GrouperSession s, Group g, Field f, 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
    • addImmediate

      void addImmediate(GrouperSession s, Stem ns, Field f, 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
    • deleteComposite

      void deleteComposite(GrouperSession s, Group g, Composite c) throws IllegalStateException
      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

      Set<String> getGroupIdsWithNewMemberships()
      Returns:
      set of group ids that have modified memberships
    • getStemIdsWithNewMemberships

      Set<String> getStemIdsWithNewMemberships()
      Returns:
      set of stem ids that have modified memberships