|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPagedListIterator<T>
A bi-directional iterator for traversing query results in a read-only manner. This iterator does not support changing the collection results in any manner.
An overview of PagedList capabilities, including sorting and filtering, is provided
in the package documentation at com.bea.content.paging
Changes to the collection should be made via the CM APIs such as com.bea.content.federated.INodeManager, and the query should be re-issued.
NOTE: items returned from this iterator should not be modified, since for performance reasons they are lightweight objects which can be re-used by other iterators. Use the interfaces INodeManager, ITypeManager, etc. to make changes to the backing store.
| Method Summary | |
|---|---|
void |
add(T o)
NOT SUPPORTED -- throws UnsupportedOperationException |
boolean |
hasNext()
|
boolean |
hasPrevious()
|
T |
next()
|
int |
nextIndex()
|
T |
previous()
|
int |
previousIndex()
|
void |
remove()
NOT SUPPORTED -- throws UnsupportedOperationException |
void |
reset()
set the iterator position to its start position (just like creating a new iterator) |
void |
set(T o)
NOT SUPPORTED -- throws UnsupportedOperationException |
| Method Detail |
|---|
boolean hasNext()
throws RepositoryRuntimeException
hasNext in interface Iterator<T>hasNext in interface ListIterator<T>RepositoryRuntimeException
T next()
throws RepositoryRuntimeException,
NoSuchElementException
next in interface Iterator<T>next in interface ListIterator<T>RepositoryRuntimeException
NoSuchElementException
int nextIndex()
throws RepositoryRuntimeException
nextIndex in interface ListIterator<T>RepositoryRuntimeException
boolean hasPrevious()
throws RepositoryRuntimeException
hasPrevious in interface ListIterator<T>RepositoryRuntimeException
T previous()
throws RepositoryRuntimeException,
NoSuchElementException
previous in interface ListIterator<T>RepositoryRuntimeException
NoSuchElementException
int previousIndex()
throws RepositoryRuntimeException
previousIndex in interface ListIterator<T>RepositoryRuntimeException
void reset()
throws RepositoryRuntimeException
RepositoryRuntimeException
void remove()
throws UnsupportedOperationException
remove in interface Iterator<T>remove in interface ListIterator<T>UnsupportedOperationException
void set(T o)
throws UnsupportedOperationException
set in interface ListIterator<T>UnsupportedOperationException
void add(T o)
throws UnsupportedOperationException
add in interface ListIterator<T>UnsupportedOperationException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||