org.opencms.security
Class I_CmsPermissionHandler.CmsPermissionCheckResult

java.lang.Object
  extended by org.opencms.util.A_CmsModeIntEnumeration
      extended by org.opencms.security.I_CmsPermissionHandler.CmsPermissionCheckResult
All Implemented Interfaces:
java.io.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, boolean, CmsResourceFilter).

See Also:
Serialized Form

Field Summary
protected static I_CmsPermissionHandler.CmsPermissionCheckResult ALLOWED
          Indicates allowed permissions.
protected static I_CmsPermissionHandler.CmsPermissionCheckResult DENIED
          Indicates denied permissions.
protected static I_CmsPermissionHandler.CmsPermissionCheckResult FILTERED
          Indicates a resource was filtered during permission check.
protected static I_CmsPermissionHandler.CmsPermissionCheckResult NOTLOCKED
          Indicates a resource was not locked for a write / control operation.
 
Method Summary
 boolean isAllowed()
          Checks if this permission is allowed or not.
 
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALLOWED

protected static final I_CmsPermissionHandler.CmsPermissionCheckResult ALLOWED
Indicates allowed permissions.


DENIED

protected static final I_CmsPermissionHandler.CmsPermissionCheckResult DENIED
Indicates denied permissions.


FILTERED

protected static final I_CmsPermissionHandler.CmsPermissionCheckResult FILTERED
Indicates a resource was filtered during permission check.


NOTLOCKED

protected static final I_CmsPermissionHandler.CmsPermissionCheckResult NOTLOCKED
Indicates a resource was not locked for a write / control operation.

Method Detail

isAllowed

public boolean isAllowed()
Checks if this permission is allowed or not.

Returns:
true if allowed