Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.webcenter.activitystreaming
Interface ActivityElementsIterator

All Superinterfaces:
java.util.Iterator<ActivityElement>

public interface ActivityElementsIterator
extends java.util.Iterator<ActivityElement>

Iterator for the ActivityStreamingElements returned from some of the API


Method Summary
 void close()
          Close the iterator.
 boolean hasNext()
          Indicates whether the iterator could move to the next item.
 boolean isClosed()
          Whether the iterator is closed.
 ActivityElement next()
          Return the next item in the collection.

 

Methods inherited from interface java.util.Iterator
remove

 

Method Detail

hasNext

boolean hasNext()
                throws ActivityRuntimeException
Indicates whether the iterator could move to the next item.
Specified by:
hasNext in interface java.util.Iterator<ActivityElement>
Returns:
a boolean indicating whether the iterator could move to the next item
Throws:
ActivityRuntimeException

next

ActivityElement next()
                     throws ActivityRuntimeException
Return the next item in the collection.
Specified by:
next in interface java.util.Iterator<ActivityElement>
Returns:
the next item in the collection
Throws:
ActivityRuntimeException

close

void close()
           throws ActivityException
Close the iterator. This should be performed whenevre the user has finished with the iterator.
Throws:
ActivityException

isClosed

boolean isClosed()
                 throws ActivityException
Whether the iterator is closed.
Returns:
a boolean indicating whether the iterator is closed
Throws:
ActivityException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.