Uses of Enum Class
com.logicaldoc.core.security.Permission
Packages that use 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
.Container of the security-related interfaces and classes
Package for the Menu, a menu represent a graphical element of the user
interface
-
Uses of Permission in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that return types with arguments of type PermissionModifier and TypeMethodDescriptionDocumentDAO.getAllowedPermissions
(long documentId, long userId) Finds all permissions of a user enabled on the specified documentHibernateDocumentDAO.getAllowedPermissions
(long docId, long userId) Methods in com.logicaldoc.core.document with parameters of type PermissionModifier and TypeMethodDescriptionboolean
DocumentDAO.isPermissionAllowed
(Permission permission, long documentId, long userId) This method checks if the given permission is enabled for a document and an user.boolean
HibernateDocumentDAO.isPermissionAllowed
(Permission permission, long documentId, long userId) -
Uses of Permission in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that return types with arguments of type PermissionModifier and TypeMethodDescriptionFolderDAO.getEnabledPermissions
(long folderId, long userId) Finds all permissions of a user enabled on the specified folderHibernateFolderDAO.getEnabledPermissions
(long folderId, long userId) Methods in com.logicaldoc.core.folder with parameters of type PermissionModifier 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.isPermissionAllowed
(Permission permission, long folderId, long userId) This method checks if the given permission is allowed for a folder and an user.boolean
HibernateFolderDAO.isPermissionAllowed
(Permission permission, long folderId, long userId) -
Uses of Permission in com.logicaldoc.core.metadata
Methods in com.logicaldoc.core.metadata that return types with arguments of type PermissionModifier 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
Methods in com.logicaldoc.core.security that return PermissionModifier and TypeMethodDescriptionstatic 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.Methods in com.logicaldoc.core.security that return types with arguments of type PermissionModifier and TypeMethodDescriptionstatic Set<Permission>
Permission.all()
static Set<Permission>
Permission.forGuests()
AccessControlEntry.grantedPermissions()
static Set<Permission>
Method parameters in com.logicaldoc.core.security with type arguments of type PermissionModifier and TypeMethodDescriptionvoid
AccessControlEntry.grantPermissions
(Set<Permission> permissions) -
Uses of Permission in com.logicaldoc.core.security.authorization
Constructors in com.logicaldoc.core.security.authorization with parameters of type PermissionModifierConstructorDescriptionPermissionException
(String username, String securityObject, Permission permission) PermissionException
(String username, String securityObject, Permission permission, Throwable cause)