Package com.atlassian.jira.auditing
Interface AuditingStore
- All Known Implementing Classes:
AuditingStoreToAuditServiceImpl
public interface AuditingStore
Auditing store used to save audit entries in the db.
- Since:
- v6.2
-
Method Summary
Modifier and TypeMethodDescriptionlong
countRecords
(Long maxId, Long sinceId, boolean includeSysAdminActions) long
countRecordsOlderThan
(long timestamp) getRecords
(Long maxId, Long sinceId, Integer maxResults, Integer offset, AuditingFilter filter, boolean includeSysAdminActions) long
removeRecordsOlderThan
(long timestamp) void
storeRecord
(AuditingCategory category, String categoryName, String summaryI18nKey, String eventSource, ApplicationUser author, String remoteAddress, AssociatedItem object, Iterable<ChangedValue> changedValues, Iterable<AssociatedItem> associatedItems, boolean isAuthorSysAdmin) Deprecated.void
storeRecord
(AuditingEntry entry) Stores a record based on the information in the supplied entry.
-
Method Details
-
storeRecord
@Deprecated void storeRecord(@Nonnull AuditingCategory category, String categoryName, @Nonnull String summaryI18nKey, @Nonnull String eventSource, @Nullable ApplicationUser author, @Nullable String remoteAddress, @Nullable AssociatedItem object, @Nullable Iterable<ChangedValue> changedValues, @Nullable Iterable<AssociatedItem> associatedItems, boolean isAuthorSysAdmin) Deprecated. -
storeRecord
Stores a record based on the information in the supplied entry.- Parameters:
entry
- contains the information to log- Since:
- 7.0
-
getRecords
-
countRecords
-
removeRecordsOlderThan
long removeRecordsOlderThan(long timestamp) -
countRecordsOlderThan
long countRecordsOlderThan(long timestamp)
-