Uses of Class
com.logicaldoc.core.security.menu.Menu
Package
Description
Package for the Menu, a menu represent a graphical element of the user
interface
-
Uses of Menu in com.logicaldoc.core.security.menu
Modifier and TypeMethodDescriptionHibernateMenuDAO.createPath
(long parentId, long tenantId, int type, String path, boolean inheritSecurity) MenuDAO.createPath
(long parentId, long tenantId, int type, String path, boolean inheritSecurity) Creates the menu for the specified path.Modifier and TypeMethodDescriptionHibernateMenuDAO.findByGroupId
(long groupId) MenuDAO.findByGroupId
(long groupId) Finds all menus accessible by the passed groupHibernateMenuDAO.findByName
(Menu parent, String name, boolean caseSensitive) HibernateMenuDAO.findByName
(String name) MenuDAO.findByName
(Menu parent, String name, boolean caseSensitive) Finds all menus by menu text, contained in the parent menuMenuDAO.findByName
(String name) Finds all menus by menu text.HibernateMenuDAO.findByNameAndParentId
(String name, long parentId) MenuDAO.findByNameAndParentId
(String name, long parentId) Finds that folder that lies under a specific parent (given by the id) an with a given text(like operator is used)HibernateMenuDAO.findByParentId
(long parentId, boolean enaledOnly) MenuDAO.findByParentId
(long parentId, boolean enabledOnly) Finds all children(direct and indirect) by parentIdHibernateMenuDAO.findByUserId
(long userId) HibernateMenuDAO.findByUserId
(long userId, long parentId, boolean enabledOnly) HibernateMenuDAO.findByUserId
(long userId, long parentId, Integer type, boolean enabledOnly) MenuDAO.findByUserId
(long userId) Finds authorized menus for a user.MenuDAO.findByUserId
(long userId, long parentId, boolean enabledOnly) Finds direct children of a menuHibernateMenuDAO.findChildren
(long parentId, long userId) HibernateMenuDAO.findChildren
(long parentId, Integer max) MenuDAO.findChildren
(long parentId, long userId) Finds direct children of a menu accessible by the given user.MenuDAO.findChildren
(long parentId, Integer max) Finds direct children of a menu.HibernateMenuDAO.findParents
(long menuId) MenuDAO.findParents
(long id) Returns a List of menus being a parent of the given menu.Modifier and TypeMethodDescriptionint
HibernateMenuDAO.findByName
(Menu parent, String name, boolean caseSensitive) MenuDAO.findByName
(Menu parent, String name, boolean caseSensitive) Finds all menus by menu text, contained in the parent menuboolean
HibernateMenuDAO.hasWriteAccess
(Menu menu, long userId) boolean
MenuDAO.hasWriteAccess
(Menu menu, long userId) Checks that the user has access to the menu and all its sub-itemsvoid