|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.apps.groupspace.pagination.GS_PagedList<T>
public class GS_PagedList<T extends ContentBaseImpl>
PagedList implementation for GroupSpace content.
Field Summary |
---|
Fields inherited from interface com.bea.content.paging.ContentListKeys |
---|
ALL_ITEMS, BATCH_LOADING_SIZE_KEY, CUSTOM_OBJECT_FILTER, CUSTOM_OBJECT_SORT, FILTER_CRITERIA_KEY, SORT_CRITERIA_KEY |
Constructor Summary | |
---|---|
GS_PagedList(Class<T> beanType,
IPagedList<Node> pagedList)
|
Method Summary | |
---|---|
int |
fullSize()
Finds query results size, regardless of the cost. |
int |
getBatchLoadingSize()
Returns the current batch loading size. |
com.bea.content.paging.internal.QueryMetadata |
getQueryMetadata()
|
boolean |
isFullyResolved()
For performance reasons, query results may be bounded at a maximum, such as 10,000 items. |
IPagedListIterator<T> |
iterator()
Get an iterator to traverse the PagedList items. |
int |
nativeSize()
If it is possible to efficiently determine the query results size, this method will return the size. |
void |
setBatchLoadingSize(int numItems)
Updates the batch loading size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GS_PagedList(Class<T> beanType, IPagedList<Node> pagedList)
Method Detail |
---|
public IPagedListIterator<T> iterator() throws RepositoryRuntimeException
NOTE: any changes to the PagedList (such as resorting, refiltering, etc) will invalidate all iterators on the PagedList.
iterator
in interface IPagedList<T extends ContentBaseImpl>
iterator
in interface Iterable<T extends ContentBaseImpl>
RepositoryRuntimeException
public boolean isFullyResolved() throws RepositoryRuntimeException
isFullyResolved
in interface IPagedList<T extends ContentBaseImpl>
RepositoryRuntimeException
public int fullSize() throws RepositoryRuntimeException
NOTE: this method is potentially very expensive, since in many cases, the query results size cannot be determined efficiently. For this reason, it is generally preferable to call nativeSize() instead.
fullSize
in interface IPagedList<T extends ContentBaseImpl>
RepositoryRuntimeException
public int nativeSize() throws RepositoryRuntimeException
nativeSize
in interface IPagedList<T extends ContentBaseImpl>
RepositoryRuntimeException
public int getBatchLoadingSize() throws RepositoryRuntimeException
getBatchLoadingSize
in interface IPagedList<T extends ContentBaseImpl>
RepositoryRuntimeException
public void setBatchLoadingSize(int numItems) throws RepositoryRuntimeException
setBatchLoadingSize
in interface IPagedList<T extends ContentBaseImpl>
RepositoryRuntimeException
public com.bea.content.paging.internal.QueryMetadata getQueryMetadata()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |