@ExperimentalApi public interface

AuditingManager

com.atlassian.jira.auditing.AuditingManager
Known Indirect Subclasses

@ExperimentalApi

This interface is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Summary

Public Methods
long countRecords(Long maxId, Long sinceId)
long countRecordsWithoutSysAdmin(Long maxId, Long sinceId)
@Nonnull Records getRecords(Long maxId, Long sinceId, Integer maxResults, Integer offset, AuditingFilter filter)
Get records from the database.
@Nonnull 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)

Public Methods

public long countRecords (Long maxId, Long sinceId)

public long countRecordsWithoutSysAdmin (Long maxId, Long sinceId)

@Nonnull public Records getRecords (Long maxId, Long sinceId, Integer maxResults, Integer offset, AuditingFilter filter)

Get records from the database.

Parameters
maxId max record id to return (including), doesn't have to represent a real record in the database
sinceId smallest record id to return (including), doesn't have to represent a real record in the database
maxResults 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 counted
filter defines how records should be filtered out before being returned, if null records will not be filtered

@Nonnull public 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)

public void store (RecordRequest request)