Class AuditServiceImpl

java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.AuditServiceImpl
All Implemented Interfaces:
AuditService, JAXRSService

@Service public class AuditServiceImpl extends AbstractService implements AuditService
  • Field Details

  • Constructor Details

    • AuditServiceImpl

      public AuditServiceImpl(AuditLogic logic)
  • Method Details

    • confs

      public List<AuditConfTO> confs()
      Description copied from interface: AuditService
      Returns a list of all audit configurations.
      Specified by:
      confs in interface AuditService
      Returns:
      list of all audit configurations.
    • getConf

      public AuditConfTO getConf(String key)
      Description copied from interface: AuditService
      Returns the audit configuration with matching key.
      Specified by:
      getConf in interface AuditService
      Parameters:
      key - audit key to be read
      Returns:
      audit configuration with matching key
    • setConf

      public void setConf(AuditConfTO auditTO)
      Description copied from interface: AuditService
      Sets an audit configuration
      Specified by:
      setConf in interface AuditService
      Parameters:
      auditTO - audit configuration to be stored
    • deleteConf

      public void deleteConf(String key)
      Description copied from interface: AuditService
      Deletes the audit configuration matching the provided key.
      Specified by:
      deleteConf in interface AuditService
      Parameters:
      key - audit configuration key to be deleted
    • create

      public void create(AuditEventTO auditEvent)
      Description copied from interface: AuditService
      Persist an audit event.
      Specified by:
      create in interface AuditService
      Parameters:
      auditEvent - audit event to persist.
    • events

      public List<OpEvent> events()
      Description copied from interface: AuditService
      Returns the list of all managed events in audit.
      Specified by:
      events in interface AuditService
      Returns:
      list of all managed events in audit
    • search

      public PagedResult<AuditEventTO> search(AuditQuery auditQuery)
      Description copied from interface: AuditService
      Returns a paged list of audit entries matching the given query.
      Specified by:
      search in interface AuditService
      Parameters:
      auditQuery - query conditions
      Returns:
      paged list of audit entries matching the given query