Interface IRightsEditorRestrictionController
-
- All Known Implementing Classes:
RightsEditorRestrictionController
public interface IRightsEditorRestrictionController
Rights editor restriction templates controller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addOrEditRlsTemplate(RoleDescription roleDescription, String name, String condition, RestrictionTemplate editingTemplate)
Adds or edits role rls template in performs finish wizard.void
deleteSelectedRlsTemplates(org.eclipse.swt.widgets.Shell shell)
Deletes selected RLS templates from role.void
init()
Initializes controller from all rights editor.void
onDispose()
Removes listeners and dispose model.void
openAddRlsTemplateWizard(org.eclipse.swt.widgets.Shell shell)
Opens wizard to add RLS template to role.void
openEditRlsTemplateWizard(org.eclipse.swt.widgets.Shell shell)
Opens wizard to edit role RLS template.void
setRestrictionTemplatesSection(RestrictionTemplatesSection section)
Sets section.
-
-
-
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 (notnull
)name
- the parameter name (notnull
)condition
- the condition (notnull
)editingTemplate
- the editing template, may benull
if new template adds
-
deleteSelectedRlsTemplates
void deleteSelectedRlsTemplates(org.eclipse.swt.widgets.Shell shell)
Deletes selected RLS templates from role.- Parameters:
shell
- the shell (notnull
)
-
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 (notnull
)
-
openEditRlsTemplateWizard
void openEditRlsTemplateWizard(org.eclipse.swt.widgets.Shell shell)
Opens wizard to edit role RLS template.- Parameters:
shell
- the shell (notnull
)
-
setRestrictionTemplatesSection
void setRestrictionTemplatesSection(RestrictionTemplatesSection section)
Sets section.- Parameters:
section
- the section (notnull
)
-
-