@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
ContentHistoryActionscomputeLatestLogEntries in interface ContentHistoryActionsAuditException@Factory(value="logEntries", scope=EVENT) public List<LogEntry> computeLogEntries() throws AuditException
ContentHistoryActionscomputeLogEntries in interface ContentHistoryActionsAuditException@Factory(value="logEntriesComments", scope=EVENT) public Map<Long,String> computeLogEntriesComments() throws AuditException
computeLogEntriesComments in interface ContentHistoryActionsAuditException@Factory(value="logEntriesLinkedDocs", scope=EVENT) public Map<Long,LinkedDocument> computeLogEntrieslinkedDocs() throws AuditException
computeLogEntrieslinkedDocs in interface ContentHistoryActionsAuditExceptionpublic List<LogEntry> computeLogEntries(DocumentModel document) throws AuditException
ContentHistoryActionscomputeLogEntries in interface ContentHistoryActionsAuditExceptionpublic String doSearch()
doSearch in interface ContentHistoryActions@Deprecated public String getLogComment(LogEntry entry)
ContentHistoryActionsThis log may be filled automatically when dealing with copy/paste/move log entries.
getLogComment in interface ContentHistoryActions@Deprecated public LinkedDocument getLogLinkedDocument(LogEntry entry)
ContentHistoryActionsThe linked document is resolved from the log original comment, when dealing with copy/paste/move log entries.
getLogLinkedDocument in interface ContentHistoryActionspublic SortInfo getSortInfo()
getSortInfo in interface ContentHistoryActionsCopyright © 2014 Nuxeo SA. All Rights Reserved.