Package com._1c.g5.v8.bm.integration
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
,SetIndependentRightsOfChildObjectsTask
public abstract class BmBasicTask extends AbstractBmTask<org.eclipse.core.runtime.IStatus>
The task implementation for simplified compatibility with old BM implementation
-
-
Constructor Summary
Constructors Constructor Description BmBasicTask(String name, IBmObject... objects)
BmBasicTask(String name, List<IBmObject> objects)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)
Perform task execution.abstract org.eclipse.core.runtime.IStatus
execute(List<IBmObject> objects, org.eclipse.core.runtime.IProgressMonitor monitor)
Perform task execution.protected IBmTransaction
getTransaction()
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Method Detail
-
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 benull
.monitor
- The monitor to indicate the progress. May not benull
.- Returns:
- execution result, may be
null
.
-
getTransaction
protected IBmTransaction getTransaction()
-
-