Package com._1c.g5.v8.bm.integration
Interface IBmPlatformGlobalEditingContext
- 
- All Superinterfaces:
- IBmPlatformEditingContext
 
 public interface IBmPlatformGlobalEditingContext extends IBmPlatformEditingContext The global editing context.The global editing context #execute(IBmTask)leads to autosave of modified resources.The global context has no history of task execution. In addition to IBmEditingContextit allows to execute import task.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TexecuteImportTask(String name, Object taskId, Object serviceId, IBmPlatformTask<T> task)Executes the given importtask.- 
Methods inherited from interface com._1c.g5.v8.bm.integration.IBmPlatformEditingContextexecute
 
- 
 
- 
- 
- 
Method Detail- 
executeImportTask<T> T executeImportTask(String name, Object taskId, Object serviceId, IBmPlatformTask<T> task) Executes the given importtask.- 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 BmDeadlockDetectedExceptionit is re-thrown.
 Execution of the import task in global context doesn't lead to resource saving in opposite to #execute(IBmTask)method.- Parameters:
- name- TODO
- taskId- TODO
- serviceId- TODO
- task- The task to execute. May be- null.
- Returns:
- the result returned by IBmTask.execute(IBmTransaction, IProgressMonitor)method.
- See Also:
- #execute(IBmTask)
 
- If the task execution causes the transaction deadlock (throw 
 
- 
 
-