Class AbstractUsersPageProvider<T>
java.lang.Object
org.nuxeo.ecm.platform.query.api.AbstractPageProvider<T>
org.nuxeo.ecm.platform.usermanager.providers.AbstractUsersPageProvider<T>
- All Implemented Interfaces:
Serializable
,PageProvider<T>
- Direct Known Subclasses:
NuxeoPrincipalsPageProvider
,UsersPageProvider
- Since:
- 5.8
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected List<DocumentModel>
protected static final String
protected static final String
protected static final String
protected Map<String,
DocumentModelList> Map with first letter as key and users list as value.protected static final String
Fields inherited from class org.nuxeo.ecm.platform.query.api.AbstractPageProvider
currentEntryIndex, currentHigherNonEmptyPageIndex, currentSelectPage, definition, error, errorMessage, highlights, maxPageSize, name, offset, PAGEPROVIDER_TRACK_PROPERTY_NAME, pageProviderChangedListener, pageSize, pageSizeOptions, parameters, properties, quickFilters, resultsCount, searchDocumentModel, selectedEntries, SKIPPED_SCHEMAS_FOR_SEARCHFIELD, sortable, sortInfos, tracking
Fields inherited from interface org.nuxeo.ecm.platform.query.api.PageProvider
DEFAULT_MAX_PAGE_SIZE, DEFAULT_MAX_PAGE_SIZE_RUNTIME_PROP, HIGHLIGHT_CTX_DATA, PAGE_LIMIT_UNKNOWN, SKIP_AGGREGATES_PROP, UNKNOWN_SIZE, UNKNOWN_SIZE_AFTER_QUERY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<DocumentModel>
protected String
protected String
boolean
This page provider does not support sort for now => override what may be contributed in the definitionprotected void
Page change hook, to override for custom behaviorvoid
refresh()
Refresh hook, to override for custom behaviorprotected List<DocumentModel>
searchAllUsers
(UserManager userManager) protected List<DocumentModel>
searchUsers
(UserManager userManager) protected List<DocumentModel>
searchUsersFromCatalog
(UserManager userManager) protected void
updateUserCatalog
(UserManager userManager) Methods inherited from class org.nuxeo.ecm.platform.query.api.AbstractPageProvider
addQuickFilter, addSortInfo, fireSearchEvent, firstPage, getAggregateDefinitions, getAggregates, getAvailableQuickFilters, getBooleanProperty, getCurrentEntry, getCurrentHigherNonEmptyPageIndex, getCurrentPage, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefaultMaxPageSize, getDefinition, getError, getErrorMessage, getHighlights, getMaxNumberOfEmptyPages, getMaxPageSize, getMinMaxPageSize, getName, getNumberOfPages, getPageLimit, getPageSize, getPageSizeOptions, getParameters, getParametersChanged, getProperties, getQuickFilters, getResultsCount, getResultsCountLimit, getSearchDocumentModel, getSortInfo, getSortInfoIndex, getSortInfos, hasAggregateSupport, hasChangedParameters, hasError, incorporateAggregates, isLastPageAvailable, isNextEntryAvailable, isNextPageAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, isSkipAggregates, isTrackingEnabled, lastPage, nextEntry, nextPage, notifyPageChanged, notifyRefresh, previousEntry, previousPage, searchDocumentModelChanged, setCurrentEntry, setCurrentEntryIndex, setCurrentHigherNonEmptyPageIndex, setCurrentPage, setCurrentPageIndex, setCurrentPageOffset, setDefinition, setHighlights, setMaxPageSize, setName, setPageProviderChangedListener, setPageSize, setPageSizeOptions, setParameters, setProperties, setQuickFilters, setResultsCount, setSearchDocumentModel, setSelectedEntries, setSortable, setSortInfo, setSortInfo, setSortInfos, sortInfoChanged
-
Field Details
-
USERS_LISTING_MODE_PROPERTY
- See Also:
-
ALL_MODE
- See Also:
-
SEARCH_ONLY_MODE
- See Also:
-
TABBED_MODE
- See Also:
-
SEARCH_OVERFLOW_ERROR_MESSAGE
- See Also:
-
userCatalog
Map with first letter as key and users list as value. -
pageUsers
-
-
Constructor Details
-
AbstractUsersPageProvider
public AbstractUsersPageProvider()
-
-
Method Details
-
computeCurrentPage
-
getUserListingMode
-
getFirstParameter
-
searchAllUsers
-
searchUsers
-
searchUsersFromCatalog
-
updateUserCatalog
-
getCatalogLetters
-
isSortable
public boolean isSortable()This page provider does not support sort for now => override what may be contributed in the definition- Specified by:
isSortable
in interfacePageProvider<T>
- Overrides:
isSortable
in classAbstractPageProvider<T>
-
pageChanged
protected void pageChanged()Description copied from class:AbstractPageProvider
Page change hook, to override for custom behaviorWhen overriding it, call
super.pageChanged()
as last statement to make sure that thePageProviderChangedListener
is called with the up-to-date @{code PageProvider} state.- Overrides:
pageChanged
in classAbstractPageProvider<T>
-
refresh
public void refresh()Description copied from class:AbstractPageProvider
Refresh hook, to override for custom behaviorWhen overriding it, call
super.refresh()
as last statement to make sure that thePageProviderChangedListener
is called with the up-to-date @{code PageProvider} state.- Specified by:
refresh
in interfacePageProvider<T>
- Overrides:
refresh
in classAbstractPageProvider<T>
-