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