Interface AuditingStore

All Known Implementing Classes:
AuditingStoreToAuditServiceImpl

public interface AuditingStore
Auditing store used to save audit entries in the db.
Since:
v6.2
  • 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

      void storeRecord(@Nonnull AuditingEntry entry)
      Stores a record based on the information in the supplied entry.
      Parameters:
      entry - contains the information to log
      Since:
      7.0
    • getRecords

      @Nonnull Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions)
    • countRecords

      long countRecords(@Nullable Long maxId, @Nullable Long sinceId, boolean includeSysAdminActions)
    • removeRecordsOlderThan

      long removeRecordsOlderThan(long timestamp)
    • countRecordsOlderThan

      long countRecordsOlderThan(long timestamp)