org.nuxeo.ecm.platform.audit.service
Class LogEntryProvider
java.lang.Object
org.nuxeo.ecm.platform.audit.service.LogEntryProvider
public class LogEntryProvider
- extends Object
Method Summary |
void |
addLogEntries(List<LogEntry> entries)
|
void |
addLogEntry(LogEntry entry)
|
Long |
countEventsById(String eventId)
|
static LogEntryProvider |
createProvider(EntityManager em)
|
List<String> |
findEventIds()
|
List<LogEntry> |
getLogEntriesFor(String uuid)
|
List<LogEntry> |
getLogEntriesFor(String uuid,
Map<String,FilterMapEntry> filterMap,
boolean doDefaultSort)
Deprecated. |
LogEntry |
getLogEntryByID(long id)
|
List<?> |
nativeQuery(String queryString,
int pageNb,
int pageSize)
|
List<?> |
nativeQuery(String queryString,
Map<String,Object> params,
int pageNb,
int pageSize)
|
List<LogEntry> |
nativeQueryLogs(String whereClause,
int pageNb,
int pageSize)
|
List<LogEntry> |
queryLogs(String[] eventIds,
String dateRange)
|
List<LogEntry> |
queryLogsByPage(String[] eventIds,
Date limit,
String[] categories,
String path,
int pageNb,
int pageSize)
|
List<LogEntry> |
queryLogsByPage(String[] eventIds,
String dateRange,
String[] categories,
String path,
int pageNb,
int pageSize)
|
int |
removeEntries(String eventId,
String pathPattern)
|
createProvider
public static LogEntryProvider createProvider(EntityManager em)
addLogEntry
public void addLogEntry(LogEntry entry)
addLogEntries
public void addLogEntries(List<LogEntry> entries)
getLogEntriesFor
public List<LogEntry> getLogEntriesFor(String uuid)
getLogEntriesFor
@Deprecated
public List<LogEntry> getLogEntriesFor(String uuid,
Map<String,FilterMapEntry> filterMap,
boolean doDefaultSort)
- Deprecated.
getLogEntryByID
public LogEntry getLogEntryByID(long id)
nativeQueryLogs
public List<LogEntry> nativeQueryLogs(String whereClause,
int pageNb,
int pageSize)
nativeQuery
public List<?> nativeQuery(String queryString,
int pageNb,
int pageSize)
nativeQuery
public List<?> nativeQuery(String queryString,
Map<String,Object> params,
int pageNb,
int pageSize)
queryLogs
public List<LogEntry> queryLogs(String[] eventIds,
String dateRange)
queryLogsByPage
public List<LogEntry> queryLogsByPage(String[] eventIds,
String dateRange,
String[] categories,
String path,
int pageNb,
int pageSize)
throws AuditException
- Throws:
AuditException
queryLogsByPage
public List<LogEntry> queryLogsByPage(String[] eventIds,
Date limit,
String[] categories,
String path,
int pageNb,
int pageSize)
removeEntries
public int removeEntries(String eventId,
String pathPattern)
countEventsById
public Long countEventsById(String eventId)
findEventIds
public List<String> findEventIds()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.