Interface IRightsEditorRestrictionController

  • All Known Implementing Classes:
    RightsEditorRestrictionController

    public interface IRightsEditorRestrictionController
    Rights editor restriction templates controller.
    • Method Detail

      • addOrEditRlsTemplate

        void addOrEditRlsTemplate​(RoleDescription roleDescription,
                                  String name,
                                  String condition,
                                  RestrictionTemplate editingTemplate)
        Adds or edits role rls template in performs finish wizard.
        Parameters:
        roleDescription - the role description (not null)
        name - the parameter name (not null)
        condition - the condition (not null)
        editingTemplate - the editing template, may be null if new template adds
      • deleteSelectedRlsTemplates

        void deleteSelectedRlsTemplates​(org.eclipse.swt.widgets.Shell shell)
        Deletes selected RLS templates from role.
        Parameters:
        shell - the shell (not null)
      • init

        void init()
        Initializes controller from all rights editor.
      • onDispose

        void onDispose()
        Removes listeners and dispose model.
      • openAddRlsTemplateWizard

        void openAddRlsTemplateWizard​(org.eclipse.swt.widgets.Shell shell)
        Opens wizard to add RLS template to role.
        Parameters:
        shell - the shell (not null)
      • openEditRlsTemplateWizard

        void openEditRlsTemplateWizard​(org.eclipse.swt.widgets.Shell shell)
        Opens wizard to edit role RLS template.
        Parameters:
        shell - the shell (not null)
      • setRestrictionTemplatesSection

        void setRestrictionTemplatesSection​(RestrictionTemplatesSection section)
        Sets section.
        Parameters:
        section - the section (not null)