Package io.vertigo.audit.impl.trace
Interface TraceStorePlugin
-
- All Superinterfaces:
io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Plugin
- All Known Implementing Classes:
MemoryTraceStorePlugin
public interface TraceStorePlugin extends io.vertigo.core.node.component.PluginThis class defines the storage of audit trails.- Author:
- xdurand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(Trace auditTrace)Saves a new audit trail.List<Trace>findByCriteria(TraceCriteria auditTraceCriteria)Fetchs all Audit Trace mathing the provided criteriaTraceread(Long auditTraceId)Gets an audit trail.
-
-
-
Method Detail
-
read
Trace read(Long auditTraceId)
Gets an audit trail.- Parameters:
auditTraceId- the audit trail defined by its id.- Returns:
- the
-
create
void create(Trace auditTrace)
Saves a new audit trail. Attention: The audit MUST NOT have an id.- Parameters:
auditTrace- the audit trail to save.
-
findByCriteria
List<Trace> findByCriteria(TraceCriteria auditTraceCriteria)
Fetchs all Audit Trace mathing the provided criteria- Parameters:
auditTraceCriteria-- Returns:
- the matching taces for the provided criteria
-
-