Package org.nuxeo.audit.api
Class LogEntryBuilder.LogEntryImpl
java.lang.Object
org.nuxeo.audit.api.LogEntryBuilder.LogEntryImpl
- All Implemented Interfaces:
Serializable,LogEntry,LogEntry
- Enclosing class:
LogEntryBuilder
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final Dateprotected final Stringprotected final Longprotected final Dateprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the category for this log entry.Returns the associated comment for this log entry.Return the life cycle if the document related to the log entry.Returns the doc path related to the log entry.Returns the doc type related to the log entry.Returns the doc UUID related to the log entry.Returns the date of the event that originated the log entry.Returns the identifier of the event that originated the log entry.Returns the extended information attached to this log entry.longgetId()Returns the name of the principal who originated the log entry.Returns the repository id related to the log entry.inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.audit.api.LogEntry
builder, getExtendedValueMethods inherited from interface org.nuxeo.ecm.platform.audit.api.LogEntry
getExtendedInfos, getPreprocessedComment, setCategory, setComment, setDocLifeCycle, setDocPath, setDocType, setDocUUID, setDocUUID, setEventDate, setEventId, setExtendedInfos, setId, setLogDate, setPreprocessedComment, setPrincipalName, setRepositoryId
-
Field Details
-
id
-
principalName
-
eventId
-
eventDate
-
logDate
-
docUUID
-
docPath
-
docType
-
category
-
comment
-
docLifeCycle
-
repositoryId
-
extended
-
-
Constructor Details
-
LogEntryImpl
-
-
Method Details
-
getId
public long getId() -
getPrincipalName
Description copied from interface:LogEntryReturns the name of the principal who originated the log entry.- Specified by:
getPrincipalNamein interfaceLogEntry- Specified by:
getPrincipalNamein interfaceLogEntry- Returns:
- the name of the principal who originated the log entry
-
getEventId
Description copied from interface:LogEntryReturns the identifier of the event that originated the log entry.- Specified by:
getEventIdin interfaceLogEntry- Specified by:
getEventIdin interfaceLogEntry- Returns:
- the identifier of the event that originated the log entry
-
getEventDate
Description copied from interface:LogEntryReturns the date of the event that originated the log entry.- Specified by:
getEventDatein interfaceLogEntry- Specified by:
getEventDatein interfaceLogEntry- Returns:
- the date of the event that originated the log entry
-
getLogDate
- Specified by:
getLogDatein interfaceLogEntry- 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.
-
getDocUUID
Description copied from interface:LogEntryReturns 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- Specified by:
getDocUUIDin interfaceLogEntry- Returns:
- the doc UUID related to the log entry.
-
getDocPath
Description copied from interface:LogEntryReturns 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- Specified by:
getDocPathin interfaceLogEntry- Returns:
- the doc path related to the log entry.
-
getDocType
Description copied from interface:LogEntryReturns 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- Specified by:
getDocTypein interfaceLogEntry- Returns:
- the doc type related to the log entry.
-
getCategory
Description copied from interface:LogEntryReturns the category for this log entry.This is defined at client level. Categories are not restricted in any ways.
- Specified by:
getCategoryin interfaceLogEntry- Specified by:
getCategoryin interfaceLogEntry- Returns:
- the category for this log entry.
-
getComment
Description copied from interface:LogEntryReturns the associated comment for this log entry.- Specified by:
getCommentin interfaceLogEntry- Specified by:
getCommentin interfaceLogEntry- Returns:
- the associated comment for this log entry
-
getDocLifeCycle
Description copied from interface:LogEntryReturn 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- Specified by:
getDocLifeCyclein interfaceLogEntry- Returns:
- the life cycle if the document related to the log entry.
-
getRepositoryId
Description copied from interface:LogEntryReturns the repository id related to the log entry.- Specified by:
getRepositoryIdin interfaceLogEntry- Specified by:
getRepositoryIdin interfaceLogEntry- Returns:
- the repository id
-
getExtended
Description copied from interface:LogEntryReturns the extended information attached to this log entry.- Specified by:
getExtendedin interfaceLogEntry- Specified by:
getExtendedin interfaceLogEntry
-
hashCode
public int hashCode() -
equals
-
toString
-