public class LazyBeanList extends java.lang.Object implements java.util.List, WGResultSetCore
Constructor and Description |
---|
LazyBeanList(SimpleContentSource db,
java.lang.String folder,
java.util.Map contents) |
Modifier and Type | Method and Description |
---|---|
void |
add(int arg0,
java.lang.Object arg1) |
boolean |
add(java.lang.Object arg0) |
boolean |
addAll(java.util.Collection arg0) |
boolean |
addAll(int arg0,
java.util.Collection arg1) |
void |
clear() |
boolean |
contains(java.lang.Object arg0) |
boolean |
containsAll(java.util.Collection arg0) |
java.lang.Object |
get(int arg0) |
java.util.List |
getColumnNames()
Returns the name of result row columns, if this query serves multi column results
Result set cores not supporting this type of results should return null here
|
java.util.List |
getContentList()
Called to retrieve a list of all content in this result set.
|
java.util.List |
getContentList(int start,
int length)
Called to retrieve a subset of content of this result set.
|
int |
indexOf(java.lang.Object arg0) |
boolean |
isEmpty() |
boolean |
isLimitingResults()
Indicates if the query type does honor result size limits, give via
WGDatabase.QUERYOPTION_MAXRESULTS . |
boolean |
isReturnsKeys()
Determines, if this result set core only returns WGContentKey-Objects, to allow the WGAPI
to rely on cached document objects.
|
java.util.Iterator |
iterator() |
int |
lastIndexOf(java.lang.Object arg0) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int arg0) |
java.lang.Object |
remove(int arg0) |
boolean |
remove(java.lang.Object arg0) |
boolean |
removeAll(java.util.Collection arg0) |
int |
results()
Returns the number of contents in this result set.
|
boolean |
retainAll(java.util.Collection arg0) |
java.lang.Object |
set(int arg0,
java.lang.Object arg1) |
int |
size() |
java.util.List |
subList(int arg0,
int arg1) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] arg0) |
public LazyBeanList(SimpleContentSource db, java.lang.String folder, java.util.Map contents)
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
public boolean contains(java.lang.Object arg0)
contains
in interface java.util.Collection
contains
in interface java.util.List
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] arg0)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public boolean add(java.lang.Object arg0)
add
in interface java.util.Collection
add
in interface java.util.List
public boolean remove(java.lang.Object arg0)
remove
in interface java.util.Collection
remove
in interface java.util.List
public boolean containsAll(java.util.Collection arg0)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
public boolean addAll(java.util.Collection arg0)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
public boolean addAll(int arg0, java.util.Collection arg1)
addAll
in interface java.util.List
public boolean removeAll(java.util.Collection arg0)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.List
public boolean retainAll(java.util.Collection arg0)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.List
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
public java.lang.Object get(int arg0)
get
in interface java.util.List
public java.lang.Object set(int arg0, java.lang.Object arg1)
set
in interface java.util.List
public void add(int arg0, java.lang.Object arg1)
add
in interface java.util.List
public java.lang.Object remove(int arg0)
remove
in interface java.util.List
public int indexOf(java.lang.Object arg0)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object arg0)
lastIndexOf
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int arg0)
listIterator
in interface java.util.List
public java.util.List subList(int arg0, int arg1)
subList
in interface java.util.List
public int results()
WGResultSetCore
results
in interface WGResultSetCore
public java.util.List getContentList(int start, int length)
WGResultSetCore
getContentList
in interface WGResultSetCore
start
- Starting index of contents to be retrieved. First index is 1.length
- Number of contents to be retrievedpublic java.util.List getContentList()
WGResultSetCore
getContentList
in interface WGResultSetCore
public boolean isReturnsKeys()
WGResultSetCore
isReturnsKeys
in interface WGResultSetCore
public java.util.List getColumnNames()
WGResultSetCore
getColumnNames
in interface WGResultSetCore
public boolean isLimitingResults()
WGResultSetCore
WGDatabase.QUERYOPTION_MAXRESULTS
. False means that the result set does not limit itself, and the limit must be enforced by WGA.isLimitingResults
in interface WGResultSetCore