@Name(value="contentHistoryActions") @Scope(value=EVENT) public class ContentHistoryActionsBean extends Object implements ContentHistoryActions
:XXX: http://jira.nuxeo.org/browse/NXP-514
Constructor and Description |
---|
ContentHistoryActionsBean() |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
computeLatestLogEntries()
Computes latest logs only.
|
List<LogEntry> |
computeLogEntries()
Computes all log entries for current document.
|
List<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() |
@Factory(value="latestLogEntries", scope=EVENT) public List<LogEntry> computeLatestLogEntries() throws AuditException
ContentHistoryActions
computeLatestLogEntries
in interface ContentHistoryActions
AuditException
@Factory(value="logEntries", scope=EVENT) public List<LogEntry> computeLogEntries() throws AuditException
ContentHistoryActions
computeLogEntries
in interface ContentHistoryActions
AuditException
@Factory(value="logEntriesComments", scope=EVENT) public Map<Long,String> computeLogEntriesComments() throws AuditException
computeLogEntriesComments
in interface ContentHistoryActions
AuditException
@Factory(value="logEntriesLinkedDocs", scope=EVENT) public Map<Long,LinkedDocument> computeLogEntrieslinkedDocs() throws AuditException
computeLogEntrieslinkedDocs
in interface ContentHistoryActions
AuditException
public List<LogEntry> computeLogEntries(DocumentModel document) throws AuditException
ContentHistoryActions
computeLogEntries
in interface ContentHistoryActions
AuditException
public String doSearch()
doSearch
in interface ContentHistoryActions
@Deprecated public String getLogComment(LogEntry entry)
ContentHistoryActions
This log may be filled automatically when dealing with copy/paste/move log entries.
getLogComment
in interface ContentHistoryActions
@Deprecated public LinkedDocument getLogLinkedDocument(LogEntry entry)
ContentHistoryActions
The linked document is resolved from the log original comment, when dealing with copy/paste/move log entries.
getLogLinkedDocument
in interface ContentHistoryActions
public SortInfo getSortInfo()
getSortInfo
in interface ContentHistoryActions
Copyright © 2013 Nuxeo SA. All Rights Reserved.