@ExperimentalApi
public interface AuditingManager
Modifier and Type | Method and Description |
---|---|
long |
countRecords(Long maxId,
Long sinceId) |
long |
countRecordsWithoutSysAdmin(Long maxId,
Long sinceId) |
Records |
getRecords(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter)
Get records from the database.
|
Records |
getRecordsWithoutSysAdmin(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter)
Does the same as
#getRecords(Long, Long, Long) but filters out all records
authored by sysadmins (users who were sysadmins at the time of performing the action) |
void |
store(RecordRequest request) |
void store(RecordRequest request)
@Nonnull Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter)
maxId
- max record id to return (including), doesn't have to represent a real record in the databasesinceId
- smallest record id to return (including), doesn't have to represent a real record in the databasemaxResults
- number of records to get, you cannot get more than 10000 records at once (if you provide larger number it will be automatically capped)offset
- offset from which records are being countedfilter
- defines how records should be filtered out before being returned, if null records will not be filtered@Nonnull Records getRecordsWithoutSysAdmin(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter)
#getRecords(Long, Long, Long)
but filters out all records
authored by sysadmins (users who were sysadmins at the time of performing the action)Copyright © 2002-2015 Atlassian. All Rights Reserved.