Class BmBasicTask

java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
com._1c.g5.v8.bm.integration.BmBasicTask
All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
Direct Known Subclasses:
AddRightValuesTask, AddRlsTask, AddRlsTemplateTask, BmBasicTask1, BmBasicTask2, BmBasicTask2Collection, DeleteRlsTask, DeleteRlsTemplateTask, EditRlsTask, EditRlsTemplateTask, ListElementsSwapTask, ListRemovalTask, SetIndependentRightsOfChildObjectsTask

public abstract class BmBasicTask extends AbstractBmTask<org.eclipse.core.runtime.IStatus>
The task implementation for simplified compatibility with old BM implementation
  • Constructor Details

  • Method Details

    • execute

      public abstract org.eclipse.core.runtime.IStatus execute(List<IBmObject> objects, org.eclipse.core.runtime.IProgressMonitor monitor)
      Perform task execution. Be ware new objects will not be attached to session on execution.
    • execute

      public org.eclipse.core.runtime.IStatus execute(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)
      Perform task execution. Be aware new object are not associated with editing support.
      Parameters:
      transaction - The active transaction. May not be null.
      monitor - The monitor to indicate the progress. May not be null.
      Returns:
      execution result, may be null.
    • getTransaction

      protected IBmTransaction getTransaction()