AuditService
instead@Deprecated public class AuditingManagerImpl extends Object implements AuditingManager
Constructor and Description |
---|
AuditingManagerImpl(AuditingStore auditingStore,
BarrierFactory barrierFactory,
AuditingEntries auditingEntries)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
countRecords(Long maxId,
Long sinceId)
Deprecated.
|
protected long |
countRecords(Long maxId,
Long sinceId,
boolean includeSysAdminActions)
Deprecated.
|
long |
countRecordsWithoutSysAdmin(Long maxId,
Long sinceId)
Deprecated.
|
Records |
getRecords(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter)
Deprecated.
Get records from the database.
|
protected Records |
getRecords(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter,
boolean includeSysAdminActions)
Deprecated.
|
Records |
getRecordsWithoutSysAdmin(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter)
Deprecated.
Does the same as
AuditingManager.getRecords(Long, Long, Integer, Integer, AuditingFilter) but filters out all records
authored by sysadmins (users who were sysadmins at the time of performing the action) |
void |
store(RecordRequest record)
Deprecated.
Use
AuditService instead |
public AuditingManagerImpl(AuditingStore auditingStore, BarrierFactory barrierFactory, AuditingEntries auditingEntries)
@Deprecated public void store(RecordRequest record)
AuditService
insteadstore
in interface AuditingManager
record
- @Nonnull public Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter)
AuditingManager
getRecords
in interface AuditingManager
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 public Records getRecordsWithoutSysAdmin(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter)
AuditingManager
AuditingManager.getRecords(Long, Long, Integer, Integer, AuditingFilter)
but filters out all records
authored by sysadmins (users who were sysadmins at the time of performing the action)getRecordsWithoutSysAdmin
in interface AuditingManager
public long countRecords(@Nullable Long maxId, @Nullable Long sinceId)
countRecords
in interface AuditingManager
public long countRecordsWithoutSysAdmin(@Nullable Long maxId, @Nullable Long sinceId)
countRecordsWithoutSysAdmin
in interface AuditingManager
protected Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions)
Copyright © 2002-2022 Atlassian. All Rights Reserved.