public abstract class AbstractGroupsPageProvider<T> extends AbstractPageProvider<T>
This page provider requires one parameter: the first one to be filled with the search string.
This page provider requires the property
GROUPS_LISTING_MODE_PROPERTY
to be filled with a the listing mode to
use.
DEFAULT_MAX_PAGE_SIZE, DEFAULT_MAX_PAGE_SIZE_RUNTIME_PROP, PAGE_LIMIT_UNKNOWN, UNKNOWN_SIZE, UNKNOWN_SIZE_AFTER_QUERY
Constructor and Description |
---|
AbstractGroupsPageProvider() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
computeCurrentPage() |
boolean |
isSortable()
This page provider does not support sort for now => override what may be
contributed in the definition
|
void |
refresh()
Refresh hook, to override for custom behavior
|
addSortInfo, firstPage, getCurrentEntry, getCurrentHigherNonEmptyPageIndex, getCurrentPage, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefinition, getError, getErrorMessage, getMaxNumberOfEmptyPages, getMaxPageSize, getMinMaxPageSize, getName, getNumberOfPages, getPageLimit, getPageSize, getParameters, getProperties, getResultsCount, getSearchDocumentModel, getSortInfo, getSortInfoIndex, getSortInfos, hasChangedParameters, hasError, isLastPageAvailable, isNextEntryAvailable, isNextPageAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, last, lastPage, next, nextEntry, nextPage, previous, previousEntry, previousPage, rewind, setCurrentEntry, setCurrentEntryIndex, setCurrentHigherNonEmptyPageIndex, setCurrentPage, setCurrentPageIndex, setCurrentPageOffset, setDefinition, setMaxPageSize, setName, setPageProviderChangedListener, setPageSize, setParameters, setProperties, setResultsCount, setSearchDocumentModel, setSelectedEntries, setSortable, setSortInfo, setSortInfo, setSortInfos
public List<DocumentModel> computeCurrentPage()
public boolean isSortable()
isSortable
in interface PageProvider<T>
isSortable
in class AbstractPageProvider<T>
public void refresh()
AbstractPageProvider
When overriding it, call super.refresh()
as last statement
to make sure that the PageProviderChangedListener
is called with
the up-to-date @{code PageProvider} state.
refresh
in interface PageProvider<T>
refresh
in class AbstractPageProvider<T>
Copyright © 2013 Nuxeo SA. All Rights Reserved.