Class AddRlsTask

  • All Implemented Interfaces:

    public class AddRlsTask
    extends BmBasicTask
    Add rls task and send RlsEvent.
    • Method Detail

      • 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)
        Creates a new instance.
        roleDescription - the role description, cannot be null
        eObject - the e-object, cannot be null
        right - the right, cannot be null
        selectedFields - the selected fields, cannot be null
        condition - the condition, cannot be null
        project - the project, cannot be null
        eventBroker - the event broker, cannot be null
        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