protected nl.gx.siteworks.core.HtmlObject |
ComponentTypeBase.createOrUpdatePermissions(MenuItemComponentDefinition componentDefinition,
nl.gx.siteworks.core.HtmlObject menuItem) |
Creates or updates the permissions as defined in the component definition and returns the rbac category
to which the permissions are assigned.
|
protected nl.gx.siteworks.core.HtmlObject |
ComponentTypeBase.createOrUpdateRbacCategory(MenuItemComponentDefinition componentDefinition) |
Creates or updates the rbac category as defined in the component definition and returns it.
|
protected nl.gx.siteworks.core.HtmlObject |
ComponentTypeBase.createPermission(Permission permission,
MenuItemComponentDefinition componentDefinition,
nl.gx.siteworks.core.HtmlObject rbacCategory,
nl.gx.siteworks.core.HtmlObject menuItem) |
Creates and returns a single persistent rbac permission HtmlObject based on the given
Permission and ComponentDefinition object and assigns it to the given rbac category
HtmlObject and associates it with the given menu item HtmlObject in the WebManager menu
structure.
|
protected void |
ComponentTypeBase.createPermissions(MenuItemComponentDefinition componentDefinition,
nl.gx.siteworks.core.HtmlObject menuItem) |
Creates the permissions as defined in the component definition.
|
protected void |
ComponentTypeBase.deletePermissions(MenuItemComponentDefinition componentDefinition) |
Deletes the permissions as defined in the component definition.
|
protected void |
ComponentTypeBase.disableMenuItems(MenuItemComponentDefinition componentDefinition,
String menuType) |
Disables the menu items for the component by de-assigning them from the permission free menu items or
from the corresponding rbac permissions.
|
protected void |
ComponentTypeBase.enableMenuItems(MenuItemComponentDefinition componentDefinition,
String menuType) |
Enables the menu items for the component by assigning them to the permission free menu items or to the
corresponding rbac permissions.
|
protected boolean |
ComponentTypeBase.grantsMenuItemAccess(MenuItemComponentDefinition componentDefinition,
Permission permission) |
Returns if the given permission should grant the user access to the element menu item, according to the
component definition
|