Interface WriteAuditGateway

All Known Implementing Classes:
AbstractWriteAuditGateway, DefaultWriteAuditGateway

public interface WriteAuditGateway
Provides methods for storing and removing audit records.
  • Method Details

    • saveLinkAuditRecords

      void saveLinkAuditRecords(List<LinkAuditRecordCommand> cmdList)
      Saves audit records into the storage.
      Parameters:
      cmdList - objects which keeps all necessary information to store the audit records.
    • saveTypeAuditRecords

      void saveTypeAuditRecords(List<TypeAuditRecordCommand> cmdList)
      Saves audit records into the storage.
      Parameters:
      cmdList - objects which keeps all necessary information to store the audit records.
    • removeAuditRecordsForType

      int removeAuditRecordsForType(String type)
      Removes audit records which are matching given type.
      Parameters:
      type - type code
      Returns:
      number of deleted audit records
    • removeAuditRecordsForType

      int removeAuditRecordsForType(String type, PK pk)
      Removes audit records which are matching given type and pk.
      Parameters:
      type - type code
      pk - pk
      Returns:
      number of deleted records