Uses of Class
com.logicaldoc.core.security.Permission
-
Packages that use Permission Package Description com.logicaldoc.core.folder Contains the definitions ofFolder
as well as other related objectscom.logicaldoc.core.security com.logicaldoc.core.security.dao com.logicaldoc.web.util -
-
Uses of Permission in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>
FolderDAO. getEnabledPermissions(long folderId, long userId)
Finds all permissions of a user enabled on the specified folderSet<Permission>
HibernateFolderDAO. getEnabledPermissions(long folderId, long userId)
Methods in com.logicaldoc.core.folder with parameters of type Permission Modifier and Type Method Description Collection<Long>
FolderDAO. findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree)
Finds all folders ids with a specific permission enabled on the specifies userCollection<Long>
HibernateFolderDAO. findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree)
boolean
FolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)
This method checks if the given permission is enabled for a folder and an user.boolean
HibernateFolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)
-
Uses of Permission in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that return Permission Modifier and Type Method Description static Permission
Permission. valueOf(int mask)
Returns the enum constant of this type with the specified name.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.Methods in com.logicaldoc.core.security that return types with arguments of type Permission Modifier and Type Method Description static Set<Permission>
Permission. all()
static Set<Permission>
Permission. forGuests()
Set<Permission>
SecurityManager. getEnabledPermissions(long docId, long userId)
Finds all permissions of a user enabled on the specified documentSet<Permission>
SecurityManagerImpl. getEnabledPermissions(long docId, long userId)
Methods in com.logicaldoc.core.security with parameters of type Permission Modifier and Type Method Description boolean
SecurityManager. isPermissionEnabled(Permission permission, long docId, long userId)
This method checks if the given permission is enabled for a document and an user.boolean
SecurityManagerImpl. isPermissionEnabled(Permission permission, long docId, long userId)
-
Uses of Permission in com.logicaldoc.core.security.dao
Methods in com.logicaldoc.core.security.dao with parameters of type Permission Modifier and Type Method Description List<Long>
HibernateMenuDAO. findMenuIdByUserIdAndPermission(long userId, Permission permission)
List<Long>
MenuDAO. findMenuIdByUserIdAndPermission(long userId, Permission permission)
Finds all menus ids with a specific permission enabled on the specifies user -
Uses of Permission in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util with parameters of type Permission Modifier and Type Method Description static void
ServiceUtil. checkPermission(Permission permission, User user, long folderId)
-