protected boolean canManageDirectories(OperationContext ctx) {
   ActionManager actionManager = Framework.getLocalService(ActionManager.class);
   return actionManager.checkFilter("directoriesManagementAccess", createActionContext(ctx));
 }
Esempio n. 2
0
 public String getViewFor(String mainTabId) {
   Action mainTabAction = actionManager.getAction(mainTabId);
   return mainTabAction != null ? getViewFor(mainTabAction) : null;
 }