Uses of Enum Class
com.logicaldoc.core.security.Permission
Package
Description
Contains the definitions of
Folder
as well
as other related objectsPackage that collects the template and attribute sets definitions.
Many objects of the LogicalDOC platform are extensible and can store your custom metadata, they are all those that extends the
Many objects of the LogicalDOC platform are extensible and can store your custom metadata, they are all those that extends the
ExtensibleObject
.-
Uses of Permission in com.logicaldoc.core.folder
Modifier and TypeMethodDescriptionFolderDAO.getEnabledPermissions
(long folderId, long userId) Finds all permissions of a user enabled on the specified folderHibernateFolderDAO.getEnabledPermissions
(long folderId, long userId) Modifier and TypeMethodDescriptionFolderDAO.findFolderIdByUserIdAndPermission
(long userId, Permission permission, Long parentId, boolean tree) Finds all folders ids with a specific permission enabled on the specifies userHibernateFolderDAO.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.metadata
Modifier and TypeMethodDescriptionHibernateTemplateDAO.getEnabledPermissions
(long templateId, long userId) TemplateDAO.getEnabledPermissions
(long templateId, long userId) Finds all permissions of a user enabled on the specified template -
Uses of Permission in com.logicaldoc.core.security
Modifier and TypeMethodDescriptionstatic Permission
Permission.valueOf
(int mask) Returns the enum constant of this class with the specified name.static Permission
Returns the enum constant of this class with the specified name.static Permission[]
Permission.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Set<Permission>
Permission.all()
static Set<Permission>
Permission.forGuests()
SecurityManager.getEnabledPermissions
(long docId, long userId) Finds all permissions of a user enabled on the specified documentSecurityManagerImpl.getEnabledPermissions
(long docId, long userId) Modifier and TypeMethodDescriptionboolean
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.authorization
ModifierConstructorDescriptionPermissionException
(String username, String securityObject, Permission permission) PermissionException
(String username, String securityObject, Permission permission, Throwable cause) -
Uses of Permission in com.logicaldoc.core.security.dao
Modifier and TypeMethodDescriptionHibernateMenuDAO.findMenuIdByUserIdAndPermission
(long userId, Permission permission, boolean enabledOnly) MenuDAO.findMenuIdByUserIdAndPermission
(long userId, Permission permission, boolean enabledOnly) Finds all menus ids with a specific permission enabled on the specifies user