Nuxeo Enterprise Platform 5.4

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

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ContentHistoryActionsBean

public interface ContentHistoryActions
extends java.io.Serializable

Content history actions business interface.

Author:
Julien Anguenot

Method Summary
 java.util.List<? extends LogEntry> computeLatestLogEntries()
          Computes latest logs only.
 java.util.List<? extends LogEntry> computeLogEntries()
          Computes all log entries for current document.
 java.util.List<? extends LogEntry> computeLogEntries(DocumentModel document)
          Computes all log entries for given document.
 java.util.Map<java.lang.Long,java.lang.String> computeLogEntriesComments()
           
 java.util.Map<java.lang.Long,LinkedDocument> computeLogEntrieslinkedDocs()
           
 void destroy()
           
 java.lang.String doSearch()
           
 java.lang.String getLogComment(LogEntry entry)
          Returns the log comment.
 LinkedDocument getLogLinkedDocument(LogEntry entry)
          Returns the log linked document.
 SortInfo getSortInfo()
           
 

Method Detail

computeLogEntries

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

Throws:
AuditException

computeLogEntries

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

Throws:
AuditException

computeLatestLogEntries

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

Throws:
AuditException

computeLogEntriesComments

java.util.Map<java.lang.Long,java.lang.String> computeLogEntriesComments()
                                                                         throws AuditException
Throws:
AuditException

computeLogEntrieslinkedDocs

java.util.Map<java.lang.Long,LinkedDocument> computeLogEntrieslinkedDocs()
                                                                         throws AuditException
Throws:
AuditException

getLogComment

java.lang.String getLogComment(LogEntry entry)
Returns the log comment.

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


getLogLinkedDocument

LinkedDocument getLogLinkedDocument(LogEntry entry)
Returns the log linked document.

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


doSearch

java.lang.String doSearch()

getSortInfo

SortInfo getSortInfo()

destroy

@Destroy
void destroy()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.