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

public class DefaultWriteAuditGateway extends AbstractWriteAuditGateway
  • Constructor Details

    • DefaultWriteAuditGateway

      public DefaultWriteAuditGateway()
  • Method Details

    • saveTypeAuditRecords

      public void saveTypeAuditRecords(List<TypeAuditRecordCommand> cmdList)
      Description copied from interface: WriteAuditGateway
      Saves audit records into the storage.
      Parameters:
      cmdList - objects which keeps all necessary information to store the audit records.
    • saveLinkAuditRecords

      public void saveLinkAuditRecords(List<LinkAuditRecordCommand> cmdList)
      Description copied from interface: WriteAuditGateway
      Saves audit records into the storage.
      Parameters:
      cmdList - objects which keeps all necessary information to store the audit records.
    • getWriteBatchSize

      protected int getWriteBatchSize()
    • removeAuditRecordsForType

      public int removeAuditRecordsForType(String type)
      Description copied from interface: WriteAuditGateway
      Removes audit records which are matching given type.
      Parameters:
      type - type code
      Returns:
      number of deleted audit records
    • removeAuditRecordsForType

      public int removeAuditRecordsForType(String type, PK pk)
      Description copied from interface: WriteAuditGateway
      Removes audit records which are matching given type and pk.
      Parameters:
      type - type code
      pk - pk
      Returns:
      number of deleted records
    • setJdbcTemplate

      public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
    • setAuditEnablementService

      public void setAuditEnablementService(AuditEnablementService auditEnablementService)
    • getAuditEnablementService

      protected AuditEnablementService getAuditEnablementService()
    • setAuditScopeInvalidator

      public void setAuditScopeInvalidator(AuditScopeInvalidator auditScopeInvalidator)