Interface IBmEditingContext

    • Method Detail

      • execute

        <T> T execute​(IBmTask<T> task)

        Executes the given task.

        • If the task execution causes the transaction deadlock (throw BmDeadlockDetectedException), the transaction is rolled back, and the task executed again.
        • If after certain amount of retries the task still fails to execute without deadlock, an exception is thrown.
        • If the task throws any exception other than BmDeadlockDetectedException it is re-thrown.
        task - The task to execute. May be null.
        the result returned by IBmTask.execute(IBmTransaction, IProgressMonitor) method.
      • getModel

        IBmModel getModel()
        Gets the corresponding model.
        the corresponding model.