Class 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 send RightValueEvent if change all right values selected.
    • 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 be null
        value - the value, cannot be null
        eObjects - the e-objects, cannot be null
        changeAll - the change all values flag
        project - the project, cannot be null
        isConfigurationAdopted - true if the configuration is adopted and false otherwise
        eventBroker - the event broker, cannot be null
        bmModel - the BM model, can not be null
        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 class BmBasicTask