public class WGContentIterator extends java.lang.Object implements java.util.Iterator<WGContent>
WGContent objects in the following order:
| Constructor and Description |
|---|
WGContentIterator(WGDatabase db,
boolean includeArchived)
Constructs an iterator for the given database
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<WGContentKey> |
getContentKeys()
Returns all content keys of the contents offered by this iterator.
|
boolean |
hasNext() |
WGContent |
next() |
void |
remove() |
public WGContentIterator(WGDatabase db, boolean includeArchived) throws WGAPIException
db - The databaseincludeArchived - Choose true if you want archived documents included in the iteration, false otherwiseWGAPIExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<WGContent>public void remove()
remove in interface java.util.Iterator<WGContent>public java.util.List<WGContentKey> getContentKeys()