com.waveset.adapter
Class SmartRolesResourceAdapter.DataSourceIterator
java.lang.Object
com.waveset.adapter.SmartRolesResourceAdapter.DataSourceIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- SmartRolesResourceAdapter
- public static class SmartRolesResourceAdapter.DataSourceIterator
- extends java.lang.Object
- implements java.util.Iterator
Wraps the ENDataSource object with an iterator interface in order to
hide the paging that is part of the ENDataSource interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartRolesResourceAdapter.DataSourceIterator
public SmartRolesResourceAdapter.DataSourceIterator(bridgestream.core.IOMSession session,
java.lang.String objectType,
bridgestream.util.UTNameValuePair[] criteria)
throws bridgestream.temporal.ENException
- Parameters:
session
- objectType
- criteria
- - Set to null to get all objects
- Throws:
bridgestream.temporal.ENException
SmartRolesResourceAdapter.DataSourceIterator
public SmartRolesResourceAdapter.DataSourceIterator(bridgestream.core.IOMSession session,
java.lang.String objectType,
bridgestream.util.UTNameValuePair[] criteria,
bridgestream.util.UTTimestamp time)
throws bridgestream.temporal.ENException
- Parameters:
session
- objectType
- criteria
- - Set to null to get all objects
- Throws:
bridgestream.temporal.ENException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
throws java.util.NoSuchElementException
- Specified by:
next
in interface java.util.Iterator
- Throws:
java.util.NoSuchElementException
remove
public void remove()
throws java.lang.UnsupportedOperationException
- Specified by:
remove
in interface java.util.Iterator
- Throws:
java.lang.UnsupportedOperationException