com.waveset.adapter
Class VMSResourceAdapter.AcctIter

java.lang.Object
  extended bycom.waveset.adapter.VMSResourceAdapter.AcctIter
All Implemented Interfaces:
AccountIterator
Enclosing class:
VMSResourceAdapter

protected class VMSResourceAdapter.AcctIter
extends java.lang.Object
implements AccountIterator

AccountIterator implementation that can be built by construction from the output of "lsuser ALL". Builds users on the fly as the iterator progresses. DOES NOT fill in user attributes yet.


Field Summary
 
Fields inherited from interface com.waveset.adapter.AccountIterator
code_id
 
Constructor Summary
VMSResourceAdapter.AcctIter(CaptureList captureList)
          Convenience constructor that builds an account iterator from a string of space delimited user names.
 
Method Summary
 void close()
          Closes the iterator.
 boolean hasNext()
           
 WSUser next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMSResourceAdapter.AcctIter

public VMSResourceAdapter.AcctIter(CaptureList captureList)
                            throws WavesetException
Convenience constructor that builds an account iterator from a string of space delimited user names.

Method Detail

hasNext

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

next

public WSUser next()
            throws WavesetException
Specified by:
next in interface AccountIterator
Returns:
the next account

Throws:
WavesetException

close

public void close()
Closes the iterator.

Specified by:
close in interface AccountIterator