Interface AuditService

  • All Known Implementing Classes:
    DefaultAuditService, NoopAuditService

    public interface AuditService
    A service for producing audit-related Quad values for creation, deletion and modification operation.
    • Method Detail

      • creation

        default List<Quad> creation​(IRI identifier,
                                    Session session)
        Generate the audit quads for a Create event.
        Parameters:
        identifier - the resource identifier
        session - the session data
        Returns:
        the list of quads
      • deletion

        default List<Quad> deletion​(IRI identifier,
                                    Session session)
        Generate the audit quads for a Delete event.
        Parameters:
        identifier - the resource identifier
        session - the session data
        Returns:
        the list of quads
      • update

        default List<Quad> update​(IRI identifier,
                                  Session session)
        Generate the audit quads for an Update event.
        Parameters:
        identifier - the resource identifier
        session - the session data
        Returns:
        the list of quads