flux.security
Interface UserIterator


public interface UserIterator

Contains multiple users that are retrieved from the Flux engine.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 boolean hasNext()
          Indicates whether there are more users in this iterator.
 User next()
          Returns the next user in this iterator.
 

Method Detail

hasNext

boolean hasNext()
                throws EngineException
Indicates whether there are more users in this iterator.

Returns:
Whether there are more users in this iterator.
Throws:
EngineException - If a system error occurs.

next

User next()
          throws EngineException
Returns the next user in this iterator.

Returns:
The next user in this iterator. Returns null if there are no more available users, which can happen if a user is removed after the previous call to the hasNext() method but before the call to this next() method.
Throws:
EngineException - If a system error occurs.


© 2014 Flux Corporation. All rights reserved.