|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.MemberList
org.opends.server.extensions.SimpleStaticGroupMemberList
public class SimpleStaticGroupMemberList
This class provides an implementation of the MemberList
class that
may be used in conjunction when static groups when no additional criteria is
to be used to select a subset of the group members.
Constructor Summary | |
---|---|
SimpleStaticGroupMemberList(DN groupDN,
java.util.Set<DN> memberDNs)
Creates a new simple static group member list with the provided set of member DNs. |
Method Summary | |
---|---|
void |
close()
Indicates that this member list is no longer required and that the server may clean up any resources that may have been used in the course of processing. |
boolean |
hasMoreMembers()
Indicates whether the group contains any more members. |
DN |
nextMemberDN()
Retrieves the DN of the next group member. |
Entry |
nextMemberEntry()
Retrieves the entry for the next group member. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleStaticGroupMemberList(DN groupDN, java.util.Set<DN> memberDNs)
groupDN
- The DN of the static group with which this member list
is associated.memberDNs
- The set of DNs for the users that are members of the
associated static group.Method Detail |
---|
public boolean hasMoreMembers()
hasMoreMembers
in class MemberList
true
if the group has at least one more member,
or false
if not.public DN nextMemberDN() throws MembershipException
nextMemberDN
in class MemberList
null
if
there are no more members.
MembershipException
- If a problem occurs while
attempting to retrieve the next
member DN.public Entry nextMemberEntry() throws MembershipException
nextMemberEntry
in class MemberList
null
if
there are no more members.
MembershipException
- If a problem occurs while
attempting to retrieve the next
entry.public void close()
hasMoreMembers
returns false
.
close
in class MemberList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |