Package com.atlassian.jira.auditing
Class AuditingManagerImpl
java.lang.Object
com.atlassian.jira.auditing.AuditingManagerImpl
- All Implemented Interfaces:
AuditingManager
Deprecated.
- Since:
- v6.2
-
Constructor Summary
ConstructorsConstructorDescriptionAuditingManagerImpl
(AuditingStore auditingStore, AuditingEntries auditingEntries) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlong
countRecords
(Long maxId, Long sinceId) Deprecated.protected long
countRecords
(Long maxId, Long sinceId, boolean includeSysAdminActions) Deprecated.long
countRecordsWithoutSysAdmin
(Long maxId, Long sinceId) Deprecated.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.getRecordsWithoutSysAdmin
(Long maxId, Long sinceId, Integer maxResults, Integer offset, AuditingFilter filter) Deprecated.Does the same asAuditingManager.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.UseAuditService
instead
-
Constructor Details
-
AuditingManagerImpl
Deprecated.
-
-
Method Details
-
store
Deprecated.UseAuditService
instead- Specified by:
store
in interfaceAuditingManager
- Parameters:
record
-
-
getRecords
@Nonnull public Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter) Deprecated.Description copied from interface:AuditingManager
Get records from the database.- Specified by:
getRecords
in interfaceAuditingManager
- 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
-
getRecordsWithoutSysAdmin
@Nonnull public Records getRecordsWithoutSysAdmin(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter) Deprecated.Description copied from interface:AuditingManager
Does the same asAuditingManager.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)- Specified by:
getRecordsWithoutSysAdmin
in interfaceAuditingManager
-
countRecords
Deprecated.- Specified by:
countRecords
in interfaceAuditingManager
-
countRecordsWithoutSysAdmin
Deprecated.- Specified by:
countRecordsWithoutSysAdmin
in interfaceAuditingManager
-
getRecords
protected Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions) Deprecated. -
countRecords
protected long countRecords(@Nullable Long maxId, @Nullable Long sinceId, boolean includeSysAdminActions) Deprecated.
-
AuditService
instead