AuditService instead@Deprecated public class AuditingManagerImpl extends Object implements AuditingManager
| Constructor and Description |
|---|
AuditingManagerImpl(AuditingStore auditingStore,
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, AuditingEntries auditingEntries)
@Deprecated public void store(RecordRequest record)
AuditService insteadstore in interface AuditingManagerrecord - @Nonnull public Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter)
AuditingManagergetRecords in interface AuditingManagermaxId - 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)
AuditingManagerAuditingManager.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 AuditingManagerpublic long countRecords(@Nullable Long maxId, @Nullable Long sinceId)
countRecords in interface AuditingManagerpublic long countRecordsWithoutSysAdmin(@Nullable Long maxId, @Nullable Long sinceId)
countRecordsWithoutSysAdmin in interface AuditingManagerprotected Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions)
Copyright © 2002-2023 Atlassian. All Rights Reserved.