Package com._1c.g5.v8.bm.integration
Interface IBatchSessionController
- 
 public interface IBatchSessionControllerCallback used by the batch mode of BM to bring additional control of the batch operations. In case if the descendant of this interface is being used as an externally provided handle to theIBmModel.beginBatchSession(Object)the system calls the corresponding methods of the callback during the batch lifecycle.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisAsyncSaveRequired()Should returntrueif saving of all resources should be done in asynchronous mode,false- otherwise.booleanisParallelSaveAllowed()Returnstrueif saving of all resources can be done in parallel,false- otherwise.voidonAfterEventProcessing()Called right after enqueing all events being collected during the batch mode.voidonAfterSave()Called right after the end of saving of all resources being changed during the batch mode.voidonBeforeEventProcessing()Called right before the event processing collected by the batch mode.voidonBeforeSave(int taskCount)Called right before saving of all resources being changed during the batch mode.
 
- 
- 
- 
Method Detail- 
onBeforeEventProcessingvoid onBeforeEventProcessing() Called right before the event processing collected by the batch mode.
 - 
onAfterEventProcessingvoid onAfterEventProcessing() Called right after enqueing all events being collected during the batch mode.
 - 
onAfterSavevoid onAfterSave() Called right after the end of saving of all resources being changed during the batch mode.
 - 
onBeforeSavevoid onBeforeSave(int taskCount) Called right before saving of all resources being changed during the batch mode.- Parameters:
- taskCount- The collected save task count.
 
 - 
isParallelSaveAllowedboolean isParallelSaveAllowed() Returnstrueif saving of all resources can be done in parallel,false- otherwise.- Returns:
- trueif saving of all resources can be done in parallel,- false- otherwise.
 
 - 
isAsyncSaveRequireddefault boolean isAsyncSaveRequired() Should returntrueif saving of all resources should be done in asynchronous mode,false- otherwise.- Returns:
- The async. save flag
 
 
- 
 
-