if (loggedUserIsMaster) {
processDefinitionList = processDefinitionListDAO.findAllProcessDefinitions(loggedUserId);
} else {
processDefinitionList = processDefinitionListDAO.findAllAuthorityProcessDefinitions(loggedUserId, loggedUserGlobalCom, AclManager.PERMISSION_EDIT);
}
ProcessDefinitionListToJSON makeProcessDefinitionListJson = new ProcessDefinitionListToJSON();
out.print(makeProcessDefinitionListJson.toJSON(processDefinitionList));
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)