Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.audit.api
Class LogEntry

java.lang.Object
  extended by org.nuxeo.ecm.platform.audit.api.LogEntry
All Implemented Interfaces:
java.io.Serializable

public class LogEntry
extends java.lang.Object
implements java.io.Serializable

Log entry.

Author:
Julien Anguenot
See Also:
Serialized Form

Constructor Summary
LogEntry()
           
 
Method Summary
 java.lang.String getCategory()
          Returns the category for this log entry.
 java.lang.String getComment()
          Returns the associated comment for this log entry.
 java.lang.String getDocLifeCycle()
          Return the life cycle if the document related to the log entry.
 java.lang.String getDocPath()
          Returns the doc path related to the log entry.
 java.lang.String getDocType()
          Returns the doc type related to the log entry.
 java.lang.String getDocUUID()
          Returns the doc UUID related to the log entry.
 java.util.Date getEventDate()
          Returns the date of the event that originated the log entry.
 java.lang.String getEventId()
          Returns the identifier of the event that originated the log entry.
 java.util.Map<java.lang.String,ExtendedInfo> getExtendedInfos()
           
 long getId()
           
 java.lang.String getPrincipalName()
          Returns the name of the principal who originated the log entry.
 void setCategory(java.lang.String category)
           
 void setComment(java.lang.String comment)
           
 void setDocLifeCycle(java.lang.String docLifeCycle)
           
 void setDocPath(java.lang.String docPath)
           
 void setDocType(java.lang.String docType)
           
 void setDocUUID(DocumentRef docRef)
           
 void setDocUUID(java.lang.String docUUID)
           
 void setEventDate(java.util.Date eventDate)
           
 void setEventId(java.lang.String eventId)
           
 void setExtendedInfos(java.util.Map<java.lang.String,ExtendedInfo> infos)
           
 void setId(long id)
           
 void setPrincipalName(java.lang.String principalName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogEntry

public LogEntry()
Method Detail

getId

public long getId()
Returns:
the log identifier

setId

public void setId(long id)

getPrincipalName

public java.lang.String getPrincipalName()
Returns the name of the principal who originated the log entry.

Returns:
the name of the principal who originated the log entry

setPrincipalName

public void setPrincipalName(java.lang.String principalName)

getEventId

public java.lang.String getEventId()
Returns the identifier of the event that originated the log entry.

Returns:
the identifier of the event that originated the log entry

setEventId

public void setEventId(java.lang.String eventId)

getEventDate

public java.util.Date getEventDate()
Returns the date of the event that originated the log entry.

Returns:
the date of the event that originated the log entry

setEventDate

public void setEventDate(java.util.Date eventDate)

getDocUUID

public java.lang.String getDocUUID()
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.

Returns:
the doc UUID related to the log entry.

setDocUUID

public void setDocUUID(java.lang.String docUUID)

setDocUUID

public void setDocUUID(DocumentRef docRef)

getDocPath

public java.lang.String getDocPath()
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.

Returns:
the doc path related to the log entry.

setDocPath

public void setDocPath(java.lang.String docPath)

getDocType

public java.lang.String getDocType()
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.

Returns:
the doc type related to the log entry.

setDocType

public void setDocType(java.lang.String docType)

getCategory

public java.lang.String getCategory()
Returns the category for this log entry.

This is defined at client level. Categories are not restricted in any ways.

Returns:
the category for this log entry.

setCategory

public void setCategory(java.lang.String category)

getComment

public java.lang.String getComment()
Returns the associated comment for this log entry.

Returns:
the associated comment for this log entry

setComment

public void setComment(java.lang.String comment)

getDocLifeCycle

public java.lang.String getDocLifeCycle()
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.

Returns:
the life cycle if the document related to the log entry.

setDocLifeCycle

public void setDocLifeCycle(java.lang.String docLifeCycle)

getExtendedInfos

public java.util.Map<java.lang.String,ExtendedInfo> getExtendedInfos()

setExtendedInfos

public void setExtendedInfos(java.util.Map<java.lang.String,ExtendedInfo> infos)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.