|
Nuxeo Enterprise Platform 5.4 | |||||||||
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 | |
---|---|
java.util.List<LogEntry> |
computeLatestLogEntries()
Computes latest logs only. |
java.util.List<LogEntry> |
computeLogEntries()
Computes all log entries for current document. |
java.util.List<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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHistoryActionsBean()
Method Detail |
---|
@Destroy public void destroy()
destroy
in interface ContentHistoryActions
@Factory(value="latestLogEntries", scope=EVENT) public java.util.List<LogEntry> computeLatestLogEntries() throws AuditException
ContentHistoryActions
computeLatestLogEntries
in interface ContentHistoryActions
AuditException
@Factory(value="logEntries", scope=EVENT) public java.util.List<LogEntry> computeLogEntries() throws AuditException
ContentHistoryActions
computeLogEntries
in interface ContentHistoryActions
AuditException
@Factory(value="logEntriesComments", scope=EVENT) public java.util.Map<java.lang.Long,java.lang.String> computeLogEntriesComments() throws AuditException
computeLogEntriesComments
in interface ContentHistoryActions
AuditException
@Factory(value="logEntriesLinkedDocs", scope=EVENT) public java.util.Map<java.lang.Long,LinkedDocument> computeLogEntrieslinkedDocs() throws AuditException
computeLogEntrieslinkedDocs
in interface ContentHistoryActions
AuditException
public java.util.List<LogEntry> computeLogEntries(DocumentModel document) throws AuditException
ContentHistoryActions
computeLogEntries
in interface ContentHistoryActions
AuditException
public java.lang.String doSearch()
doSearch
in interface ContentHistoryActions
public java.lang.String getLogComment(LogEntry entry)
ContentHistoryActions
This log may be filled automatically when dealing with copy/paste/move log entries.
getLogComment
in interface ContentHistoryActions
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 Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |