public interface AuditLogRepository
Application
,
AuditLogEntry
Modifier and Type | Field and Description |
---|---|
static Application.Name |
GLOBAL_ENTRY_APPLICATION
This constant shall be used to avoid null values for the application name for global events.
|
Modifier and Type | Method and Description |
---|---|
List<AuditLogEntry> |
getAuditLogEntryList(Application.Name applicationName)
Retrieves the complete list of AuditLogEntries for a specified application.
|
List<AuditLogEntry> |
getAuditLogEntryList(Application.Name applicationName,
int limit)
Retrieves a limited list of AuditLogEntries for a specified application.
|
List<AuditLogEntry> |
getCompleteAuditLogEntryList()
Retrieves the complete list of AuditLogEntries for all application and global events.
|
List<AuditLogEntry> |
getCompleteAuditLogEntryList(int limit)
Retrieves a limited list of AuditLogEntries for all application and global events.
|
List<AuditLogEntry> |
getGlobalAuditLogEntryList()
Retrieves the complete list of AuditLogEntries for global events.
|
List<AuditLogEntry> |
getGlobalAuditLogEntryList(int limit)
Retrieves a limited list of AuditLogEntries for global events.
|
boolean |
storeEntry(AuditLogEntry entry)
Stores an AuditLogEntry into the database.
|
static final Application.Name GLOBAL_ENTRY_APPLICATION
List<AuditLogEntry> getCompleteAuditLogEntryList()
List<AuditLogEntry> getCompleteAuditLogEntryList(int limit)
limit
- the limitList<AuditLogEntry> getAuditLogEntryList(Application.Name applicationName)
applicationName
- the application to selectList<AuditLogEntry> getAuditLogEntryList(Application.Name applicationName, int limit)
applicationName
- the application to selectlimit
- the limitList<AuditLogEntry> getGlobalAuditLogEntryList()
List<AuditLogEntry> getGlobalAuditLogEntryList(int limit)
limit
- the limitboolean storeEntry(AuditLogEntry entry)
GLOBAL_ENTRY_APPLICATION
is used instead.entry
- the entry to storeCopyright © 2016. All rights reserved.