Package com._1c.g5.v8.dt.rights.tasks
Class AddRlsTask
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.AddRlsTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
Add rls task and send
RlsEvent.-
Method Summary
Modifier and TypeMethodDescriptionstatic AddRlsTaskcreate(RoleDescription roleDescription, org.eclipse.emf.ecore.EObject eObject, Right right, Collection<DbViewFieldDef> selectedFields, String condition, org.eclipse.core.resources.IProject project, IEventBroker eventBroker, IModelObjectCollectionRuntimeOrderSorter sorter) Creates a new instance.org.eclipse.core.runtime.IStatusPerform task execution.Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransactionMethods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Method Details
-
create
public static AddRlsTask create(RoleDescription roleDescription, org.eclipse.emf.ecore.EObject eObject, Right right, Collection<DbViewFieldDef> selectedFields, String condition, org.eclipse.core.resources.IProject project, IEventBroker eventBroker, IModelObjectCollectionRuntimeOrderSorter sorter) Creates a new instance.- Parameters:
roleDescription- the role description, cannot benulleObject- the e-object, cannot benullright- the right, cannot benullselectedFields- the selected fields, cannot benullcondition- the condition, cannot benullproject- the project, cannot benulleventBroker- the event broker, cannot benullsorter- the role objects and rights sorter, 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:BmBasicTaskPerform task execution. Be ware new objects will not be attached to session on execution.- Specified by:
executein classBmBasicTask
-