public class DocumentHistoryPageProvider extends AuditPageProvider
Because of the way the Audit log is stored (i.e. mainly stores events related to the live document), retrieving history of a version or of a proxy requires some additional processing.
This PageProvider
does not accept a fixed part in the whereclause
because it is automatically build by the provider itself. This
PageProvider
expect to have :
CORE_SESSION_PROPERTY, UICOMMENTS_PROPERTY
DEFAULT_MAX_PAGE_SIZE, DEFAULT_MAX_PAGE_SIZE_RUNTIME_PROP, UNKNOWN_SIZE, UNKNOWN_SIZE_AFTER_QUERY
Constructor and Description |
---|
DocumentHistoryPageProvider() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getParameters() |
List<SortInfo> |
getSortInfos()
Returns the complete list of sorting info for this provider
|
getCurrentPage, getResultsCount, refresh, toString
addSortInfo, firstPage, getCurrentEntry, getCurrentHigherNonEmptyPageIndex, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefinition, getError, getErrorMessage, getMaxNumberOfEmptyPages, getMaxPageSize, getMinMaxPageSize, getName, getNumberOfPages, getPageSize, getProperties, getSearchDocumentModel, getSortInfo, getSortInfoIndex, hasError, isLastPageAvailable, isNextEntryAvailable, isNextPageAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, isSortable, last, lastPage, next, nextEntry, nextPage, previous, previousEntry, previousPage, rewind, setCurrentEntry, setCurrentEntryIndex, setCurrentHigherNonEmptyPageIndex, setCurrentPage, setCurrentPageOffset, setDefinition, setMaxPageSize, setName, setPageSize, setParameters, setProperties, setResultsCount, setSearchDocumentModel, setSelectedEntries, setSortable, setSortInfo, setSortInfo, setSortInfos
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSortInfo, firstPage, getCurrentEntry, getCurrentPageIndex, getCurrentPageOffset, getCurrentPageSize, getCurrentPageStatus, getCurrentSelectPage, getDefinition, getError, getErrorMessage, getMaxPageSize, getName, getNumberOfPages, getPageSize, getProperties, getSearchDocumentModel, getSortInfo, getSortInfoIndex, hasError, isLastPageAvailable, isNextEntryAvailable, isNextPageAvailable, isPreviousEntryAvailable, isPreviousPageAvailable, isSortable, lastPage, nextEntry, nextPage, previousEntry, previousPage, setCurrentEntry, setCurrentEntryIndex, setCurrentPage, setCurrentPageOffset, setDefinition, setMaxPageSize, setName, setPageSize, setParameters, setProperties, setResultsCount, setSearchDocumentModel, setSelectedEntries, setSortable, setSortInfo, setSortInfo, setSortInfos
public List<SortInfo> getSortInfos()
PageProvider
getSortInfos
in interface PageProvider<LogEntry>
getSortInfos
in class AbstractPageProvider<LogEntry>
public Object[] getParameters()
getParameters
in interface PageProvider<LogEntry>
getParameters
in class AbstractPageProvider<LogEntry>
Copyright © 2012 Nuxeo SA. All Rights Reserved.