com.atlassian.crowd.directory
Class DirectoryMembershipsIterable
java.lang.Object
com.atlassian.crowd.directory.DirectoryMembershipsIterable
- All Implemented Interfaces:
- java.lang.Iterable<Membership>
public class DirectoryMembershipsIterable
- extends java.lang.Object
- implements java.lang.Iterable<Membership>
An Iterable view of the memberships of a collection of named groups, backed
with individual calls to a RemoteDirectory.
Any underlying failures during iteration will be wrapped as Membership.MembershipIterationExceptions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUPS_TO_NAMES
public static final com.google.common.base.Function<Group,java.lang.String> GROUPS_TO_NAMES
DirectoryMembershipsIterable
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory,
java.lang.Iterable<java.lang.String> groupNames)
DirectoryMembershipsIterable
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory)
throws OperationFailedException
- Throws:
OperationFailedException
iterator
public java.util.Iterator<Membership> iterator()
- Specified by:
iterator in interface java.lang.Iterable<Membership>
Copyright © 2011 Atlassian. All Rights Reserved.