Package com.iplanet.ums
Interface IAssignableMembership
-
- All Superinterfaces:
IMembership
- All Known Implementing Classes:
AssignableDynamicGroup,ManagedRole,StaticGroup
public interface IAssignableMembership extends IMembership
Represents a container interface common to groups and roles. It extends IMembership by adding support for adding and removing members.- See Also:
IMembership
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMember(Guid guid)Adds a member to the group.voidaddMember(PersistentObject member)Adds a member to the group.voidaddMembers(Guid[] guids)Adds a list of members to the group.voidremoveAllMembers()Removes all members of the groupvoidremoveMember(Guid guid)Removes a member from the group.voidremoveMember(PersistentObject member)Removes a member from the group.-
Methods inherited from interface com.iplanet.ums.IMembership
getMemberCount, getMemberIDAt, getMemberIDs, hasMember
-
-
-
-
Method Detail
-
addMember
void addMember(Guid guid) throws UMSException
Adds a member to the group. The change is saved to persistent storage.- Parameters:
guid- globally unique identifier for the member to be added- Throws:
UMSException- on failure to save to persistent storage
-
addMember
void addMember(PersistentObject member) throws UMSException
Adds a member to the group. The change is saved to persistent storage.- Parameters:
member- Object to be added- Throws:
UMSException- on failure to save to persistent storage
-
addMembers
void addMembers(Guid[] guids) throws UMSException
Adds a list of members to the group. The change is saved to persistent storage.- Parameters:
guids- list of member guids to be added as members to the group- Throws:
UMSException- on failure to save to persistent storage
-
removeMember
void removeMember(Guid guid) throws UMSException
Removes a member from the group. The change is saved to persistent storage.- Parameters:
guid- unique identifier for the member to be removed- Throws:
UMSException- on failure to save to persistent storage
-
removeMember
void removeMember(PersistentObject member) throws UMSException
Removes a member from the group. The change is saved to persistent storage.- Parameters:
member- Object to be removed- Throws:
UMSException- on failure to save to persistent storage
-
removeAllMembers
void removeAllMembers() throws UMSExceptionRemoves all members of the group- Throws:
UMSException- on failure to save to persistent storage
-
-