Package org.trellisldp.api
Interface AuditService
-
- All Known Implementing Classes:
DefaultAuditService
,NoopAuditService
public interface AuditService
A service for producing audit-relatedQuad
values for creation, deletion and modification operation.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<Quad>
creation(IRI identifier, Session session)
Generate the audit quads for a Create event.default List<Quad>
deletion(IRI identifier, Session session)
Generate the audit quads for a Delete event.default List<Quad>
update(IRI identifier, Session session)
Generate the audit quads for an Update event.
-
-
-
Method Detail
-
creation
default List<Quad> creation(IRI identifier, Session session)
Generate the audit quads for a Create event.- Parameters:
identifier
- the resource identifiersession
- 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 identifiersession
- the session data- Returns:
- the list of quads
-
-