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