Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.audit.web.listener
Interface ContentHistoryActions

All Superinterfaces:
Serializable
All Known Implementing Classes:
ContentHistoryActionsBean

public interface ContentHistoryActions
extends Serializable

Content history actions business interface.

Author:
Julien Anguenot

Method Summary
 List<? extends LogEntry> computeLatestLogEntries()
          Computes latest logs only.
 List<? extends LogEntry> computeLogEntries()
          Computes all log entries for current document.
 List<? extends LogEntry> computeLogEntries(DocumentModel document)
          Computes all log entries for given document.
 Map<Long,String> computeLogEntriesComments()
           
 Map<Long,LinkedDocument> computeLogEntrieslinkedDocs()
           
 String doSearch()
           
 String getLogComment(LogEntry entry)
          Deprecated. 
 LinkedDocument getLogLinkedDocument(LogEntry entry)
          Deprecated. 
 SortInfo getSortInfo()
           
 

Method Detail

computeLogEntries

List<? extends LogEntry> computeLogEntries()
                                           throws AuditException
Computes all log entries for current document.

Throws:
AuditException

computeLogEntries

List<? extends LogEntry> computeLogEntries(DocumentModel document)
                                           throws AuditException
Computes all log entries for given document.

Throws:
AuditException

computeLatestLogEntries

List<? extends LogEntry> computeLatestLogEntries()
                                                 throws AuditException
Computes latest logs only.

Throws:
AuditException

computeLogEntriesComments

Map<Long,String> computeLogEntriesComments()
                                           throws AuditException
Throws:
AuditException

computeLogEntrieslinkedDocs

Map<Long,LinkedDocument> computeLogEntrieslinkedDocs()
                                                     throws AuditException
Throws:
AuditException

getLogComment

@Deprecated
String getLogComment(LogEntry entry)
Deprecated. 

Returns the log comment.

This log may be filled automatically when dealing with copy/paste/move log entries.


getLogLinkedDocument

@Deprecated
LinkedDocument getLogLinkedDocument(LogEntry entry)
Deprecated. 

Returns the log linked document.

The linked document is resolved from the log original comment, when dealing with copy/paste/move log entries.


doSearch

String doSearch()

getSortInfo

SortInfo getSortInfo()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.