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 SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.audit.api.LogEntrybuilder, getExtendedValueMethods inherited from interface org.nuxeo.ecm.platform.audit.api.LogEntrygetExtendedInfos, 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- 
getIdpublic long getId()
- 
getPrincipalNameDescription copied from interface:LogEntryReturns the name of the principal who originated the log entry.- Specified by:
- getPrincipalNamein interface- LogEntry
- Specified by:
- getPrincipalNamein interface- LogEntry
- Returns:
- the name of the principal who originated the log entry
 
- 
getEventIdDescription copied from interface:LogEntryReturns the identifier of the event that originated the log entry.- Specified by:
- getEventIdin interface- LogEntry
- Specified by:
- getEventIdin interface- LogEntry
- Returns:
- the identifier of the event that originated the log entry
 
- 
getEventDateDescription copied from interface:LogEntryReturns the date of the event that originated the log entry.- Specified by:
- getEventDatein interface- LogEntry
- Specified by:
- getEventDatein interface- LogEntry
- Returns:
- the date of the event that originated the log entry
 
- 
getLogDate- Specified by:
- getLogDatein interface- LogEntry
- Specified by:
- getLogDatein interface- LogEntry
- 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.
 
- 
getDocUUIDDescription 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 interface- LogEntry
- Specified by:
- getDocUUIDin interface- LogEntry
- Returns:
- the doc UUID related to the log entry.
 
- 
getDocPathDescription 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 interface- LogEntry
- Specified by:
- getDocPathin interface- LogEntry
- Returns:
- the doc path related to the log entry.
 
- 
getDocTypeDescription 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 interface- LogEntry
- Specified by:
- getDocTypein interface- LogEntry
- Returns:
- the doc type related to the log entry.
 
- 
getCategoryDescription 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 interface- LogEntry
- Specified by:
- getCategoryin interface- LogEntry
- Returns:
- the category for this log entry.
 
- 
getCommentDescription copied from interface:LogEntryReturns the associated comment for this log entry.- Specified by:
- getCommentin interface- LogEntry
- Specified by:
- getCommentin interface- LogEntry
- Returns:
- the associated comment for this log entry
 
- 
getDocLifeCycleDescription 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 interface- LogEntry
- Specified by:
- getDocLifeCyclein interface- LogEntry
- Returns:
- the life cycle if the document related to the log entry.
 
- 
getRepositoryIdDescription copied from interface:LogEntryReturns the repository id related to the log entry.- Specified by:
- getRepositoryIdin interface- LogEntry
- Specified by:
- getRepositoryIdin interface- LogEntry
- Returns:
- the repository id
 
- 
getExtendedDescription copied from interface:LogEntryReturns the extended information attached to this log entry.- Specified by:
- getExtendedin interface- LogEntry
- Specified by:
- getExtendedin interface- LogEntry
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-