public class DocumentHistoryReaderImpl extends Object implements DocumentHistoryReader
DocumentHistoryReader
interface. This is mainly a wrapper around the
DocumentHistoryPageProvider
Constructor and Description |
---|
DocumentHistoryReaderImpl() |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
getDocumentHistory(DocumentModel doc,
long pageIndex,
long pageSize)
Retrieve a page of
LogEntry for the history of the input DocumentModel |
PageProvider<LogEntry> |
getPageProvider(DocumentModel doc,
long pageIndex,
long pageSize)
|
public DocumentHistoryReaderImpl()
public List<LogEntry> getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)
DocumentHistoryReader
LogEntry
for the history of the input DocumentModel
getDocumentHistory
in interface DocumentHistoryReader
public PageProvider<LogEntry> getPageProvider(DocumentModel doc, long pageIndex, long pageSize)
DocumentHistoryReader
getPageProvider
in interface DocumentHistoryReader
Copyright © 2015 Nuxeo SA. All rights reserved.