Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.audit.api
Interface AuditLogger

All Known Subinterfaces:
Logs, LogsRemote, NXAuditEvents
All Known Implementing Classes:
NXAuditEventsService

public interface AuditLogger

Interface for adding audit logs.

Author:
tiry

Method Summary
 void addLogEntries(List<LogEntry> entries)
          Adds given log entries.
 void logEvent(Event event)
          Logs an Event.
 void logEvents(EventBundle eventBundle)
          Logs a bundle of events
 ExtendedInfo newExtendedInfo(Serializable value)
          Create a new ExtendedInfo instance
 LogEntry newLogEntry()
          Create a new LogEntry instance.
 

Method Detail

newLogEntry

LogEntry newLogEntry()
Create a new LogEntry instance.

Returns:

newExtendedInfo

ExtendedInfo newExtendedInfo(Serializable value)
Create a new ExtendedInfo instance

Returns:

addLogEntries

void addLogEntries(List<LogEntry> entries)
Adds given log entries.

Parameters:
entries - the list of log entries.

logEvent

void logEvent(Event event)
              throws AuditException
Logs an Event.

Throws:
AuditException

logEvents

void logEvents(EventBundle eventBundle)
               throws AuditException
Logs a bundle of events

Throws:
AuditException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.