de.bea.domingo.proxy
Class BaseProxy.DocumentCollectionIterator
java.lang.Object
de.bea.domingo.monitor.AbstractMonitorEnabled
de.bea.domingo.proxy.BaseProxy
de.bea.domingo.proxy.BaseProxy.DocumentCollectionIterator
- All Implemented Interfaces:
- DBase, DNotesIterator, MonitorEnabled, java.io.Serializable, java.util.Iterator
- Enclosing class:
- BaseProxy
public static final class BaseProxy.DocumentCollectionIterator
- extends BaseProxy
- implements DNotesIterator
Iterator for collections of documents.
A Mapper instance is used to map Notes document into a business
object. If no Mapper is provided, a simple default mapper is used that
maps the Notes document into a simple data structure that implements
the DDocument interface.
- Author:
- Kurt Riede
- See Also:
DDocument
,
Serialized Form
Method Summary |
int |
getSize()
Returns the number of objects in the iterator. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
The remove operation is not supported by this Iterator. |
java.lang.String |
toString()
Returns a short description of an instance. |
Methods inherited from class de.bea.domingo.proxy.BaseProxy |
checkSession, clearNotesObject, convertCalendarsToNotesDateTime, convertListToVector, convertNotesDateTimesToCalendar, convertVectorToList, createCalendar, createDateRange, createDateTime, decrementDateTimeCounter, finalize, getCountDateTime, getDSession, getFactory, getNotesObject, getParent, incrementDateTimeCounter, newException, newException, newException, newRuntimeException, newRuntimeException, newRuntimeException, recycleDateTimeList, refereceHashCode, toStringGeneric, toStringIntern |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseProxy.DocumentCollectionIterator
protected BaseProxy.DocumentCollectionIterator(NotesProxyFactory theFactory,
DBase theParent,
lotus.domino.DocumentCollection theCollection,
DNotesMonitor monitor)
- Constructor.
- Parameters:
theFactory
- the controlling factorytheParent
- the parent databasemonitor
- the monitortheCollection
- the Notes document collection
hasNext
public boolean hasNext()
-
- Specified by:
hasNext
in interface java.util.Iterator
- See Also:
Iterator.hasNext()
next
public java.lang.Object next()
-
- Specified by:
next
in interface java.util.Iterator
- See Also:
Iterator.next()
remove
public void remove()
- The remove operation is not supported by this Iterator.
An
UnsupportedOperationException
is thrown if this
method is called.
- Specified by:
remove
in interface java.util.Iterator
- See Also:
Iterator.remove()
toString
public java.lang.String toString()
- Returns a short description of an instance.
- Specified by:
toString
in interface DBase
- Overrides:
toString
in class java.lang.Object
- Returns:
- short description of an instance
- See Also:
Object.toString()
getSize
public int getSize()
- Returns the number of objects in the iterator.
- Specified by:
getSize
in interface DNotesIterator
- Returns:
- number of objects in the iterator
- See Also:
DNotesIterator.getSize()
Domingo Java-API