Class AuditingStoreToAuditServiceImpl
java.lang.Object
com.atlassian.jira.auditing.legacy.AuditingStoreToAuditServiceImpl
- All Implemented Interfaces:
AuditingStore
Provides legacy API support for
AuditService implementation- Since:
- v8.8
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuditingStoreToAuditServiceImpl(com.atlassian.audit.api.AuditService auditService, AuditEvents auditEvents) -
Method Summary
Modifier and TypeMethodDescriptionlongcountRecords(Long maxId, Long sinceId, boolean includeSysAdminActions) longcountRecordsOlderThan(long timestamp) protected com.atlassian.audit.api.AuditSearchServicegetRecords(Long maxId, Long sinceId, Integer maxResults, Integer offset, AuditingFilter filter, boolean includeSysAdminActions) longremoveRecordsOlderThan(long timestamp) voidstoreRecord(AuditingCategory category, String categoryName, String summaryI18nKey, String eventSource, ApplicationUser author, String remoteAddress, AssociatedItem object, Iterable<ChangedValue> changedValues, Iterable<AssociatedItem> associatedItems, boolean isAuthorSysAdmin) voidstoreRecord(AuditingEntry entry) Stores a record based on the information in the supplied entry.
-
Field Details
-
MAX_RESULTS_LIMIT
public static final int MAX_RESULTS_LIMIT- See Also:
-
-
Constructor Details
-
AuditingStoreToAuditServiceImpl
public AuditingStoreToAuditServiceImpl(com.atlassian.audit.api.AuditService auditService, AuditEvents auditEvents)
-
-
Method Details
-
storeRecord
public 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) - Specified by:
storeRecordin interfaceAuditingStore
-
storeRecord
Description copied from interface:AuditingStoreStores a record based on the information in the supplied entry.- Specified by:
storeRecordin interfaceAuditingStore- Parameters:
entry- contains the information to log
-
getRecords
@Nonnull public Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions) - Specified by:
getRecordsin interfaceAuditingStore
-
countRecords
public long countRecords(@Nullable Long maxId, @Nullable Long sinceId, boolean includeSysAdminActions) - Specified by:
countRecordsin interfaceAuditingStore
-
removeRecordsOlderThan
public long removeRecordsOlderThan(long timestamp) - Specified by:
removeRecordsOlderThanin interfaceAuditingStore
-
countRecordsOlderThan
public long countRecordsOlderThan(long timestamp) - Specified by:
countRecordsOlderThanin interfaceAuditingStore
-
getAuditSearchService
protected com.atlassian.audit.api.AuditSearchService getAuditSearchService()
-