|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.audit.web.listener.ejb.ContentHistoryActionsBean
@Name(value="contentHistoryActions") @Scope(value=EVENT) public class ContentHistoryActionsBean
Content history actions bean.
:XXX: http://jira.nuxeo.org/browse/NXP-514
Constructor Summary | |
---|---|
ContentHistoryActionsBean()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHistoryActionsBean()
Method Detail |
---|
@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
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |