Package | Description |
---|---|
com.logicaldoc.core.security | |
com.logicaldoc.core.security.dao |
Modifier and Type | Method and Description |
---|---|
int |
Menu.compareTo(Menu o) |
Modifier and Type | Method and Description |
---|---|
List<Menu> |
MenuDAO.findByGroupId(long groupId)
Finds all menus accessible by the passed group
|
List<Menu> |
HibernateMenuDAO.findByGroupId(long groupId) |
List<Menu> |
MenuDAO.findByParentId(long parentId)
Finds all children(direct and indirect) by parentId
|
List<Menu> |
HibernateMenuDAO.findByParentId(long parentId) |
List<Menu> |
MenuDAO.findByText(Menu parent,
String text,
boolean caseSensitive)
Finds all menus by menu text, contained in the parent menu
|
List<Menu> |
HibernateMenuDAO.findByText(Menu parent,
String text,
boolean caseSensitive) |
List<Menu> |
MenuDAO.findByText(String text)
Finds all menus by menu text.
|
List<Menu> |
HibernateMenuDAO.findByText(String text) |
List<Menu> |
MenuDAO.findByTextAndParentId(String text,
long parentId)
Finds that folder that lies under a specific parent (given by the id) an
with a given text(like operator is used)
|
List<Menu> |
HibernateMenuDAO.findByTextAndParentId(String text,
long parentId) |
List<Menu> |
MenuDAO.findByUserId(long userId)
Finds authorized menus for a user.
|
List<Menu> |
HibernateMenuDAO.findByUserId(long userId) |
List<Menu> |
MenuDAO.findByUserId(long userId,
long parentId)
Finds direct children of a menu.
|
List<Menu> |
HibernateMenuDAO.findByUserId(long userId,
long parentId) |
List<Menu> |
HibernateMenuDAO.findByUserId(long userId,
long parentId,
Integer type) |
List<Menu> |
MenuDAO.findChildren(long parentId,
Integer max)
Finds direct children of a menu.
|
List<Menu> |
HibernateMenuDAO.findChildren(long parentId,
Integer max) |
List<Menu> |
MenuDAO.findChildren(long parentId,
long userId)
Finds direct children of a menu accessible by the given user.
|
List<Menu> |
HibernateMenuDAO.findChildren(long parentId,
long userId) |
List<Menu> |
MenuDAO.findParents(long id)
Returns a List of menus being a parent of the given menu.
|
List<Menu> |
HibernateMenuDAO.findParents(long menuId) |
Modifier and Type | Method and Description |
---|---|
List<Menu> |
MenuDAO.findByText(Menu parent,
String text,
boolean caseSensitive)
Finds all menus by menu text, contained in the parent menu
|
List<Menu> |
HibernateMenuDAO.findByText(Menu parent,
String text,
boolean caseSensitive) |
boolean |
MenuDAO.hasWriteAccess(Menu menu,
long userId)
Checks that the user has access to the menu and all its sub-items
|
boolean |
HibernateMenuDAO.hasWriteAccess(Menu menu,
long userId) |
boolean |
MenuDAO.store(Menu menu)
Same as store(Menu, boolean)
|
boolean |
HibernateMenuDAO.store(Menu menu) |
Modifier and Type | Method and Description |
---|---|
void |
MenuDAO.deleteAll(List<Menu> menus)
For each menu, save the folder delete history entry for each folder and
delete the folder
|
void |
HibernateMenuDAO.deleteAll(List<Menu> menus) |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.