Class LogEntryImpl
java.lang.Object
org.nuxeo.ecm.platform.audit.impl.LogEntryImpl
- All Implemented Interfaces:
Serializable,LogEntry
@Entity(name="LogEntry")
@Deprecated(since="2025.0",
forRemoval=true)
public class LogEntryImpl
extends Object
implements LogEntry
Deprecated, for removal: This API element is subject to removal in a future version.
Log entry implementation.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated, for removal: This API element is subject to removal in a future version.protected UIAuditCommentDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the category for this log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the associated comment for this log entry.Deprecated, for removal: This API element is subject to removal in a future version.Return the life cycle if the document related to the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc path related to the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc type related to the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc UUID related to the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the date of the event that originated the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the identifier of the event that originated the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the extended information attached to this log entry.Deprecated, for removal: This API element is subject to removal in a future version.longgetId()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Returns the comment preprocessed to be ready for display (extract info about linked documents).Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the principal who originated the log entry.Deprecated, for removal: This API element is subject to removal in a future version.Returns the repository id related to the log entry.voidsetCategory(String category) Deprecated, for removal: This API element is subject to removal in a future version.voidsetComment(String comment) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDocLifeCycle(String docLifeCycle) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDocPath(String docPath) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDocType(String docType) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDocUUID(String docUUID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetEventDate(Date eventDate) Deprecated, for removal: This API element is subject to removal in a future version.voidsetEventId(String eventId) Deprecated, for removal: This API element is subject to removal in a future version.voidsetExtendedInfos(Map<String, ExtendedInfo> infos) Deprecated, for removal: This API element is subject to removal in a future version.voidsetId(long id) Deprecated, for removal: This API element is subject to removal in a future version.voidsetLogDate(Date logDate) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPreprocessedComment(UIAuditComment uiComment) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPrincipalName(String principalName) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRepositoryId(String repositoryId) Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.audit.api.LogEntry
getExtendedValue, setDocUUID
-
Field Details
-
entityType
Deprecated, for removal: This API element is subject to removal in a future version. -
uiComment
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
LogEntryImpl
public LogEntryImpl()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getId
public long getId()Deprecated, for removal: This API element is subject to removal in a future version. -
setId
public void setId(long id) Deprecated, for removal: This API element is subject to removal in a future version. -
getPrincipalName
Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the principal who originated the log entry.- Specified by:
getPrincipalNamein interfaceLogEntry- Returns:
- the name of the principal who originated the log entry
-
setPrincipalName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setPrincipalNamein interfaceLogEntry
-
getEventId
Deprecated, for removal: This API element is subject to removal in a future version.Returns the identifier of the event that originated the log entry.- Specified by:
getEventIdin interfaceLogEntry- Returns:
- the identifier of the event that originated the log entry
-
setEventId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setEventIdin interfaceLogEntry
-
getEventDate
Deprecated, for removal: This API element is subject to removal in a future version.Returns the date of the event that originated the log entry.- Specified by:
getEventDatein interfaceLogEntry- Returns:
- the date of the event that originated the log entry
-
setEventDate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setEventDatein interfaceLogEntry
-
getLogDate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLogDatein interfaceLogEntry- Returns:
- the date of the log insertion: this up to max transaction timeout later than eventDate. This date is useful for services such as Nuxeo Drive that need fine grained incremental near-monotonic access to the audit log.
- Since:
- 5.7, 5.6-HF16
-
setLogDate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setLogDatein interfaceLogEntry
-
getDocUUID
Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc UUID related to the log entry.It might be null if the event that originated the event is noe bound to any document.
- Specified by:
getDocUUIDin interfaceLogEntry- Returns:
- the doc UUID related to the log entry.
-
setDocUUID
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setDocUUIDin interfaceLogEntry
-
getDocPath
Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc path related to the log entry.It might be null if the event that originated the event is noe bound to any document.
- Specified by:
getDocPathin interfaceLogEntry- Returns:
- the doc path related to the log entry.
-
setDocPath
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setDocPathin interfaceLogEntry
-
getDocType
Deprecated, for removal: This API element is subject to removal in a future version.Returns the doc type related to the log entry.It might be null if the event that originated the event is not bound to any document.
- Specified by:
getDocTypein interfaceLogEntry- Returns:
- the doc type related to the log entry.
-
setDocType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setDocTypein interfaceLogEntry
-
getCategory
Deprecated, for removal: This API element is subject to removal in a future version.Returns the category for this log entry.This is defined at client level. Categories are not restricted in any ways.
- Specified by:
getCategoryin interfaceLogEntry- Returns:
- the category for this log entry.
-
setCategory
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setCategoryin interfaceLogEntry
-
getComment
Deprecated, for removal: This API element is subject to removal in a future version.Returns the associated comment for this log entry.- Specified by:
getCommentin interfaceLogEntry- Returns:
- the associated comment for this log entry
-
setComment
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setCommentin interfaceLogEntry
-
getDocLifeCycle
Deprecated, for removal: This API element is subject to removal in a future version.Return the life cycle if the document related to the log entry.It might be null if the event that originated the event is noe bound to any document.
- Specified by:
getDocLifeCyclein interfaceLogEntry- Returns:
- the life cycle if the document related to the log entry.
-
setDocLifeCycle
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setDocLifeCyclein interfaceLogEntry
-
getRepositoryId
Deprecated, for removal: This API element is subject to removal in a future version.Returns the repository id related to the log entry.- Specified by:
getRepositoryIdin interfaceLogEntry- Returns:
- the repository id
-
setRepositoryId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setRepositoryIdin interfaceLogEntry
-
getExtended
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:LogEntryReturns the extended information attached to this log entry.- Specified by:
getExtendedin interfaceLogEntry
-
getExtendedInfos
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getExtendedInfosin interfaceLogEntry
-
setExtendedInfos
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setExtendedInfosin interfaceLogEntry
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
getPreprocessedComment
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:LogEntryReturns the comment preprocessed to be ready for display (extract info about linked documents).- Specified by:
getPreprocessedCommentin interfaceLogEntry
-
setPreprocessedComment
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setPreprocessedCommentin interfaceLogEntry
-
LogEntry.builder()instead