Class ESDocumentHistoryPageProvider
- java.lang.Object
-
- org.nuxeo.ecm.platform.query.api.AbstractPageProvider<LogEntry>
-
- org.nuxeo.elasticsearch.audit.pageprovider.ESAuditPageProvider
-
- org.nuxeo.elasticsearch.audit.pageprovider.ESDocumentHistoryPageProvider
-
- All Implemented Interfaces:
Serializable,PageProvider<LogEntry>
public class ESDocumentHistoryPageProvider extends ESAuditPageProvider
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringcomplexQueryprotected Loglogprotected Object[]newParamsprotected static StringsingleQuery-
Fields inherited from class org.nuxeo.elasticsearch.audit.pageprovider.ESAuditPageProvider
CORE_SESSION_PROPERTY, emptyQuery, maxResultWindow, searchRequest, UICOMMENTS_PROPERTY
-
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
Constructors Constructor Description ESDocumentHistoryPageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetFixedPart()Object[]getParameters()List<SortInfo>getSortInfos()Returns the complete list of sorting info for this providerbooleanhasChangedParameters(Object[] parameters)Test if provider parameters have changed-
Methods inherited from class org.nuxeo.elasticsearch.audit.pageprovider.ESAuditPageProvider
allowSimplePattern, buildAuditQuery, getCoreSession, getCurrentPage, getESBackend, getMaxResultWindow, getPageLimit, getResultsCount, isLastPageAvailable, isNextPageAvailable, isNonNullParam, preprocessCommentsIfNeeded, refresh, setMaxResultWindow, toString
-
Methods inherited from class org.nuxeo.ecm.platform.query.api.AbstractPageProvider
addQuickFilter, addSortInfo, fireSearchEvent, firstPage, getAggregateDefinitions, getAggregates, getAvailableQuickFilters, getBooleanProperty, getCurrentEntry, getCurrentHigherNonEmptyPageIndex, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefaultMaxPageSize, getDefinition, getError, getErrorMessage, getHighlights, getMaxNumberOfEmptyPages, getMaxPageSize, getMinMaxPageSize, getName, getNumberOfPages, getPageSize, getPageSizeOptions, getParametersChanged, getProperties, getQuickFilters, getResultsCountLimit, getSearchDocumentModel, getSortInfo, getSortInfoIndex, hasAggregateSupport, hasError, incorporateAggregates, isNextEntryAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, isSkipAggregates, isSortable, isTrackingEnabled, lastPage, nextEntry, nextPage, notifyPageChanged, notifyRefresh, pageChanged, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.query.api.PageProvider
addQuickFilter, addSortInfo, firstPage, getAggregateDefinitions, getAggregates, getAvailableQuickFilters, getCurrentEntry, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefinition, getError, getErrorMessage, getHighlights, getMaxPageSize, getName, getNumberOfPages, getPageSize, getPageSizeOptions, getProperties, getQuickFilters, getResultsCountLimit, getSearchDocumentModel, getSortInfo, getSortInfoIndex, hasAggregateSupport, hasError, isNextEntryAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, isSkipAggregates, isSortable, lastPage, nextEntry, nextPage, previousEntry, previousPage, setCurrentEntry, setCurrentEntryIndex, setCurrentPage, setCurrentPageIndex, setCurrentPageOffset, setDefinition, setHighlights, setMaxPageSize, setName, setPageProviderChangedListener, setPageSize, setPageSizeOptions, setParameters, setProperties, setQuickFilters, setResultsCount, setSearchDocumentModel, setSelectedEntries, setSortable, setSortInfo, setSortInfo, setSortInfos
-
-
-
-
Method Detail
-
getFixedPart
protected String getFixedPart()
- Overrides:
getFixedPartin classESAuditPageProvider
-
getSortInfos
public List<SortInfo> getSortInfos()
Description copied from interface:PageProviderReturns the complete list of sorting info for this provider- Specified by:
getSortInfosin interfacePageProvider<LogEntry>- Overrides:
getSortInfosin classESAuditPageProvider
-
getParameters
public Object[] getParameters()
- Specified by:
getParametersin interfacePageProvider<LogEntry>- Overrides:
getParametersin classAbstractPageProvider<LogEntry>
-
hasChangedParameters
public boolean hasChangedParameters(Object[] parameters)
Description copied from interface:PageProviderTest if provider parameters have changed- Specified by:
hasChangedParametersin interfacePageProvider<LogEntry>- Overrides:
hasChangedParametersin classAbstractPageProvider<LogEntry>
-
-