Package | Description |
---|---|
com.logicaldoc.core.security | |
com.logicaldoc.core.security.dao | |
com.logicaldoc.webservice |
Modifier and Type | Method and Description |
---|---|
static Permission |
Permission.valueOf(int mask) |
static Permission |
Permission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
Permission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<Permission> |
Permission.all() |
Modifier and Type | Method and Description |
---|---|
Set<Permission> |
HibernateFolderDAO.getEnabledPermissions(long folderId,
long userId) |
Set<Permission> |
FolderDAO.getEnabledPermissions(long id,
long userId)
Finds all permissions of a user enabled on the specified folder
|
Modifier and Type | Method and Description |
---|---|
Collection<Long> |
HibernateFolderDAO.findFolderIdByUserIdAndPermission(long userId,
Permission permission,
Long parentId,
boolean tree) |
Collection<Long> |
FolderDAO.findFolderIdByUserIdAndPermission(long userId,
Permission permission,
Long parentId,
boolean tree)
Finds all folders ids with a specific permission enabled on the specifies
user
|
List<Long> |
MenuDAO.findMenuIdByUserIdAndPermission(long userId,
Permission permission)
Finds all menus ids with a specific permission enabled on the specifies
user
|
List<Long> |
HibernateMenuDAO.findMenuIdByUserIdAndPermission(long userId,
Permission permission) |
boolean |
HibernateFolderDAO.isPermissionEnabled(Permission permission,
long folderId,
long userId) |
boolean |
FolderDAO.isPermissionEnabled(Permission permission,
long id,
long userId)
This method checks if the given permission is enabled for a folder and an
user.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractService.checkPermission(Permission permission,
User user,
long folderId) |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.