Class DocumentHistoryReaderImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.audit.api.document.DocumentHistoryReaderImpl
-
- All Implemented Interfaces:
DocumentHistoryReader
public class DocumentHistoryReaderImpl extends Object implements DocumentHistoryReader
Implementation of theDocumentHistoryReader
interface. This is mainly a wrapper around theDocumentHistoryPageProvider
- Author:
- Tiry
-
-
Constructor Summary
Constructors Constructor Description DocumentHistoryReaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LogEntry>
getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)
Retrieve a page ofLogEntry
for the history of the inputDocumentModel
PageProvider<LogEntry>
getPageProvider(DocumentModel doc, long pageIndex, long pageSize)
-
-
-
Method Detail
-
getDocumentHistory
public List<LogEntry> getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)
Description copied from interface:DocumentHistoryReader
Retrieve a page ofLogEntry
for the history of the inputDocumentModel
- Specified by:
getDocumentHistory
in interfaceDocumentHistoryReader
-
getPageProvider
public PageProvider<LogEntry> getPageProvider(DocumentModel doc, long pageIndex, long pageSize)
Description copied from interface:DocumentHistoryReader
- Specified by:
getPageProvider
in interfaceDocumentHistoryReader
-
-