Package org.opencms.security
Class I_CmsPermissionHandler.CmsPermissionCheckResult
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.security.I_CmsPermissionHandler.CmsPermissionCheckResult
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- I_CmsPermissionHandler
public static final class I_CmsPermissionHandler.CmsPermissionCheckResult
extends A_CmsModeIntEnumeration
Enumeration class for the results of
I_CmsPermissionHandler.hasPermissions(CmsDbContext, CmsResource, CmsPermissionSet, LockCheck, CmsResourceFilter)
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final I_CmsPermissionHandler.CmsPermissionCheckResult
Indicates allowed permissions.protected static final I_CmsPermissionHandler.CmsPermissionCheckResult
Indicates denied permissions.protected static final I_CmsPermissionHandler.CmsPermissionCheckResult
Indicates a resource was filtered during permission check.protected static final I_CmsPermissionHandler.CmsPermissionCheckResult
Indicates a resource was not locked for a write / control operation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if this permission is allowed or not.Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
Field Details
-
ALLOWED
Indicates allowed permissions. -
DENIED
Indicates denied permissions. -
FILTERED
Indicates a resource was filtered during permission check. -
NOTLOCKED
Indicates a resource was not locked for a write / control operation.
-
-
Method Details
-
isAllowed
Checks if this permission is allowed or not.- Returns:
true
if allowed
-