Package com._1c.g5.v8.dt.rights.tasks
Class DeleteRlsTask
- java.lang.Object
-
- com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
-
- com._1c.g5.v8.bm.integration.BmBasicTask
-
- com._1c.g5.v8.dt.rights.tasks.DeleteRlsTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class DeleteRlsTask extends BmBasicTask
Delete rls task and sendRlsEvent
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteRlsTask
create(Role role, org.eclipse.emf.ecore.EObject eObject, Right right, Rls rls, org.eclipse.core.resources.IProject project, IEventBroker eventBroker)
Creates a new instance.org.eclipse.core.runtime.IStatus
execute(List<IBmObject> bmObjects, org.eclipse.core.runtime.IProgressMonitor monitor)
Perform task execution.-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Method Detail
-
create
public static DeleteRlsTask create(Role role, org.eclipse.emf.ecore.EObject eObject, Right right, Rls rls, org.eclipse.core.resources.IProject project, IEventBroker eventBroker)
Creates a new instance.- Parameters:
role
- the role to delete rls for, cannot benull
eObject
- the e-object, cannot benull
right
- the right, cannot benull
rls
- the selected rls, cannot benull
project
- the project, cannot benull
eventBroker
- the event broker, cannot benull
- Returns:
- the task, cannot be
null
-
execute
public org.eclipse.core.runtime.IStatus execute(List<IBmObject> bmObjects, org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from class:BmBasicTask
Perform task execution. Be ware new objects will not be attached to session on execution.- Specified by:
execute
in classBmBasicTask
-
-