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:
LogTraceStorePlugin,MemoryTraceStorePlugin,StoreTraceStorePlugin
public interface TraceStorePlugin
extends io.vertigo.core.node.component.Plugin
This class defines the storage of audit trails.
- Author:
- xdurand
-
Method Summary
Modifier and TypeMethodDescriptionvoidSaves a new audit trail.io.vertigo.datamodel.data.model.DtList<Trace> findByCriteria(TraceCriteria auditTraceCriteria) Fetchs all Audit Trace mathing the provided criteriabooleanTell if this plugin supports reads and search of audit traces.Gets an audit trail.
-
Method Details
-
create
Saves a new audit trail. Attention: The audit MUST NOT have an id.- Parameters:
auditTrace- the audit trail to save.
-
isReadSupported
boolean isReadSupported()Tell if this plugin supports reads and search of audit traces.- Returns:
- boolean
-
read
Gets an audit trail.- Parameters:
auditTraceId- the audit trail defined by its id.- Returns:
- the trace
-
findByCriteria
Fetchs all Audit Trace mathing the provided criteria- Parameters:
auditTraceCriteria-- Returns:
- the matching taces for the provided criteria
-