Class DefaultWriteAuditGateway
java.lang.Object
de.hybris.platform.persistence.audit.gateway.impl.AbstractWriteAuditGateway
de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway
- All Implemented Interfaces:
WriteAuditGateway
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AuditEnablementServiceprotected intintRemoves 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.voidsetAuditEnablementService(AuditEnablementService auditEnablementService) voidsetAuditScopeInvalidator(AuditScopeInvalidator auditScopeInvalidator) voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) Methods inherited from class de.hybris.platform.persistence.audit.gateway.impl.AbstractWriteAuditGateway
serialize, setPayloadSerializer
-
Constructor Details
-
DefaultWriteAuditGateway
public DefaultWriteAuditGateway()
-
-
Method Details
-
saveTypeAuditRecords
Description copied from interface:WriteAuditGatewaySaves audit records into the storage.- Parameters:
cmdList- objects which keeps all necessary information to store the audit records.
-
saveLinkAuditRecords
Description copied from interface:WriteAuditGatewaySaves audit records into the storage.- Parameters:
cmdList- objects which keeps all necessary information to store the audit records.
-
getWriteBatchSize
protected int getWriteBatchSize() -
removeAuditRecordsForType
Description copied from interface:WriteAuditGatewayRemoves audit records which are matching giventype.- Parameters:
type- type code- Returns:
- number of deleted audit records
-
removeAuditRecordsForType
Description copied from interface:WriteAuditGatewayRemoves audit records which are matching giventypeandpk.- Parameters:
type- type codepk- pk- Returns:
- number of deleted records
-
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) -
setAuditEnablementService
-
getAuditEnablementService
-
setAuditScopeInvalidator
-