Interface WriteAuditGateway
-
- All Known Implementing Classes:
AbstractWriteAuditGateway,DefaultWriteAuditGateway
public interface WriteAuditGatewayProvides methods for storing and removing audit records.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intremoveAuditRecordsForType(java.lang.String type)Removes audit records which are matching giventype.intremoveAuditRecordsForType(java.lang.String type, PK pk)Removes audit records which are matching giventypeandpk.voidsaveLinkAuditRecords(java.util.List<LinkAuditRecordCommand> cmdList)Saves audit records into the storage.voidsaveTypeAuditRecords(java.util.List<TypeAuditRecordCommand> cmdList)Saves audit records into the storage.
-
-
-
Method Detail
-
saveLinkAuditRecords
void saveLinkAuditRecords(java.util.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(java.util.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(java.lang.String type)
Removes audit records which are matching giventype.- Parameters:
type- type code- Returns:
- number of deleted audit records
-
removeAuditRecordsForType
int removeAuditRecordsForType(java.lang.String type, PK pk)Removes audit records which are matching giventypeandpk.- Parameters:
type- type codepk- pk- Returns:
- number of deleted records
-
-