Interface WriteAuditGateway
- All Known Implementing Classes:
AbstractWriteAuditGateway,DefaultWriteAuditGateway
public interface WriteAuditGateway
Provides methods for storing and removing audit records.
-
Method Summary
Modifier and TypeMethodDescriptionintRemoves audit records which are matching giventype.intremoveAuditRecordsForType(String type, PK pk) Removes audit records which are matching giventypeandpk.voidsaveLinkAuditRecords(List<LinkAuditRecordCommand> cmdList) Saves audit records into the storage.voidsaveTypeAuditRecords(List<TypeAuditRecordCommand> cmdList) Saves audit records into the storage.
-
Method Details
-
saveLinkAuditRecords
Saves audit records into the storage.- Parameters:
cmdList- objects which keeps all necessary information to store the audit records.
-
saveTypeAuditRecords
Saves audit records into the storage.- Parameters:
cmdList- objects which keeps all necessary information to store the audit records.
-
removeAuditRecordsForType
Removes audit records which are matching giventype.- Parameters:
type- type code- Returns:
- number of deleted audit records
-
removeAuditRecordsForType
Removes audit records which are matching giventypeandpk.- Parameters:
type- type codepk- pk- Returns:
- number of deleted records
-