com.waveset.adapter
Class ACF2ResourceAdapter.ACF2AccountIterator

java.lang.Object
  extended bycom.waveset.adapter.ACF2ResourceAdapter.ACF2AccountIterator
All Implemented Interfaces:
AccountIterator
Enclosing class:
ACF2ResourceAdapter

public class ACF2ResourceAdapter.ACF2AccountIterator
extends java.lang.Object
implements AccountIterator


Field Summary
 
Fields inherited from interface com.waveset.adapter.AccountIterator
code_id
 
Constructor Summary
ACF2ResourceAdapter.ACF2AccountIterator(java.lang.Object filter, java.util.List userList, java.util.List additionalAttributes)
          Creates and initializes AccountIterator.
 
Method Summary
 void close()
           
 boolean hasNext()
           
 WSUser next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACF2ResourceAdapter.ACF2AccountIterator

public ACF2ResourceAdapter.ACF2AccountIterator(java.lang.Object filter,
                                               java.util.List userList,
                                               java.util.List additionalAttributes)
Creates and initializes AccountIterator.

Parameters:
filter - instance of Filter used to evaluate accounts for inclusion.
userList - List of userIDs to filter and iterate through.
additionalAttributes - List of AccountAttributeType for additional attributes to store in WSUser.
Method Detail

hasNext

public boolean hasNext()
                throws WavesetException
Specified by:
hasNext in interface AccountIterator
Throws:
WavesetException

next

public WSUser next()
            throws java.util.NoSuchElementException,
                   WavesetException
Specified by:
next in interface AccountIterator
Returns:
the next account

Throws:
com.waveset.adapter.exception.ContinuableIteratorException - if an error occurs getting a particular account but the error was not fatal, and the iterator can be used to iterate through the remaining accounts.
java.util.NoSuchElementException
WavesetException

close

public void close()
Specified by:
close in interface AccountIterator