Interface BeCPGAuditService

All Known Implementing Classes:
BeCPGAuditServiceImpl

public interface BeCPGAuditService

BeCPGAuditService interface.

Version:
$Id: $Id
Author:
matthieu
  • Method Details

    • listAuditEntries

      List<org.json.JSONObject> listAuditEntries(AuditType type, AuditQuery auditFilter)

      listAuditEntries.

      Parameters:
      type - a AuditType object
      auditFilter - a AuditQuery object
      Returns:
      a List object
    • listAuditPage

      AuditPage listAuditPage(AuditType type, AuditQuery auditFilter)

      listAuditPage.

      Read one page of audit entries by keyset paging, so that the database only ever walks through a bounded window of entry identifiers.
      Parameters:
      type - a AuditType object
      auditFilter - a AuditQuery object
      Returns:
      a AuditPage object
    • startAudit

      AuditScope startAudit(AuditType auditType)

      startAudit.

      Parameters:
      auditType - a AuditType object
      Returns:
      a AuditScope object
    • startAudit

      AuditScope startAudit(AuditType auditType, Class<?> auditClass, String scopeName)

      startAudit.

      Parameters:
      auditType - a AuditType object
      auditClass - a Class object
      scopeName - a String object
      Returns:
      a AuditScope object
    • completeAuditEntry

      void completeAuditEntry(AuditType auditType, String filterKey, String filterValue)
      Complete the entry left open by an operation recorded on start, the one matching the given filter.
      Parameters:
      auditType - a AuditType object
      filterKey - the audit key correlating the entry to the completed operation
      filterValue - the value of that key
    • deleteAuditEntries

      void deleteAuditEntries(AuditType type, Long fromId, Long toId)

      deleteAuditEntries.

      Parameters:
      type - a AuditType object
      fromId - a Long object
      toId - a Long object