public interface IAuditService
Modifier and Type | Method and Description |
---|---|
void |
audit(MObject element)
Post 'element' in the asynchronous audit queue.
|
boolean |
check(ITransaction transaction)
Launch the core checker on all elements created and modified in a transaction.
|
boolean |
check(MObject element)
Launch the core protection checker on 'element' and its composition graph.
|
boolean check(MObject element)
A true return code means the model object or one of its children is in inconsistent state.
In this case committing immediately an open transaction will fail with IllegalModelManipulationException
.
If no transaction is running, the model is broken and should either be repaired or deleted.
element
- The element to audit.void audit(MObject element)
The MObject
will be audited asynchronously by the Audit system and
results posted in the audit results view.
element
- The element to auditboolean check(ITransaction transaction)
element
- The transaction to audit.