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 List<LogEntry> getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize) throws Exception
DocumentHistoryReader
LogEntry
for the history of the input
DocumentModel
getDocumentHistory
in interface DocumentHistoryReader
Exception
public PageProvider<LogEntry> getPageProvider(DocumentModel doc, long pageIndex, long pageSize) throws Exception
DocumentHistoryReader
getPageProvider
in interface DocumentHistoryReader
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.