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.bm.integration.BmBasicTask1<RoleDescription>
com._1c.g5.v8.dt.rights.tasks.SetSetRightsForAttributesByDefaultTask
All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>

public class SetSetRightsForAttributesByDefaultTask extends BmBasicTask1<RoleDescription>
Changes the "Set rights for attributes and tabular sections by default" flag value and changes right values for all objects for which the default right values are defenied by "Set rights for attributes and tabular sections by default" flag if necessary.
  • Constructor Details

    • SetSetRightsForAttributesByDefaultTask

      public SetSetRightsForAttributesByDefaultTask(RoleDescription roleDescription, boolean setRightsForAttributesByDefault, boolean changeAllRights, org.eclipse.core.resources.IProject project, Function<org.eclipse.emf.ecore.EClass,Collection<Right>> availableRightsProvider, IEventBroker eventBroker)
      Constructor.
      Parameters:
      roleDescription - the role description, cannot be null
      setRightsForAttributesByDefault - a new "Set rights for attributes and tabular sections by default" flag value
      changeAllRights - tells whether to change all objects rights
      project - the project, cannot be null
      availableRightsProvider - the provider of available rights for EClass, cannot be null
      eventBroker - the event broker, cannot be null
  • Method Details