Package com._1c.g5.v8.dt.rights.tasks
Class SetSetRightsForAttributesByDefaultTask
- 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.SetSetRightsForAttributesByDefaultTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class SetSetRightsForAttributesByDefaultTask extends BmBasicTask
Set set rights for attributes and tabular sections by default task. and sendRightValueEvent
if change all right values selected.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetSetRightsForAttributesByDefaultTask
create(RoleDescription roleDescription, RightValue value, Map<org.eclipse.emf.ecore.EObject,Set<Right>> eObjects, boolean changeAll, org.eclipse.core.resources.IProject project, boolean isConfigurationAdopted, IEventBroker eventBroker, IBmModel bmModel)
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 SetSetRightsForAttributesByDefaultTask create(RoleDescription roleDescription, RightValue value, Map<org.eclipse.emf.ecore.EObject,Set<Right>> eObjects, boolean changeAll, org.eclipse.core.resources.IProject project, boolean isConfigurationAdopted, IEventBroker eventBroker, IBmModel bmModel)
Creates a new instance.- Parameters:
roleDescription
- the role description, cannot benull
value
- the value, cannot benull
eObjects
- the e-objects, cannot benull
changeAll
- the change all values flagproject
- the project, cannot benull
isConfigurationAdopted
-true
if the configuration is adopted andfalse
otherwiseeventBroker
- the event broker, cannot benull
bmModel
- the BM model, can not 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
-
-