com.atlassian.jira.auditing
Interface AuditingManager
- All Known Implementing Classes:
- AuditingManagerImpl
@ExperimentalApi
public interface AuditingManager
- Since:
- v6.2
Method Summary |
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)
|
store
void store(RecordRequest request)
getRecords
@Nonnull
Records getRecords(@Nullable
Long maxId,
@Nullable
Long sinceId,
@Nullable
Integer maxResults,
@Nullable
Integer offset,
@Nullable
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 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
countRecords
long countRecords(@Nullable
Long maxId,
@Nullable
Long sinceId)
getRecordsWithoutSysAdmin
@Nonnull
Records getRecordsWithoutSysAdmin(@Nullable
Long maxId,
@Nullable
Long sinceId,
@Nullable
Integer maxResults,
@Nullable
Integer offset,
@Nullable
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)
countRecordsWithoutSysAdmin
long countRecordsWithoutSysAdmin(@Nullable
Long maxId,
@Nullable
Long sinceId)
Copyright © 2002-2014 Atlassian. All Rights Reserved.