com.softwareag.centrasite.appl.framework.persistence.search.impl
Class LazySearchResultList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList
com.softwareag.centrasite.appl.framework.persistence.search.impl.LazySearchResultList
- All Implemented Interfaces:
- java.lang.Iterable, java.util.Collection, java.util.List
public class LazySearchResultList
- extends java.util.AbstractSequentialList
List
implementation containing RegistryBean
instances and
wrapping JAXR lazy response collection. On each iteration maps the next
registry object to RegistryBean
by reading it from the bean pool.
Methods inherited from class java.util.AbstractSequentialList |
add, addAll, get, iterator, remove, set |
Methods inherited from class java.util.AbstractList |
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
LazySearchResultList
public LazySearchResultList(com.centrasite.jaxr.CentraSiteBulkResponse bulkResponse,
ManagedBeanPool beanPool,
java.util.List<java.lang.Class<? extends RegistryBean>> beanClasses)
throws CSAppFrameworkException
- Constructs an instance of this class.
- Parameters:
bulkResponse
- The JAXR lazy response object holding the actual result that
will be iterated.beanPool
- The BeanPool
instance used for reading the
RegistryBean
instances.
- Throws:
CSAppFrameworkException
listIterator
public java.util.ListIterator listIterator(int index)
-
- Specified by:
listIterator
in interface java.util.List
- Specified by:
listIterator
in class java.util.AbstractSequentialList
size
public int size()
-
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.List
- Specified by:
size
in class java.util.AbstractCollection