Class DocumentHistoryPageProvider

All Implemented Interfaces:
Serializable, PageProvider<LogEntry>

public class DocumentHistoryPageProvider extends AuditPageProvider
Page provider that is dedicated to fetching history of a Document.

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 :

  • DocumentModel or UUID as input parameter
  • CoreSession as property (only used if input parameter is an uuid)
Author:
Tiry
See Also: