Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.security
Interface AccessPermission

@org.alfresco.api.AlfrescoPublicApi
public interface AccessPermission
The interface used to support reporting back if permissions are allowed or denied.
Author:
Andy Hind

Method Summary
getAccessStatus()
          Get the Access enumeration value
getAuthority()
          Get the authority to which this permission applies.
getAuthorityType()
          Get the type of authority to which this permission applies.
getPermission()
          The permission.
int
getPosition()
          At what position in the inheritance chain for permissions is this permission set? = 0 -> Set direct on the object.
boolean
isInherited()
          Is this an inherited permission entry?
boolean
isSetDirectly()
          Is this permission set on the object?
Method Detail
getPermission
String getPermission()
The permission.
Returns:
String

getAccessStatus
AccessStatus getAccessStatus()
Get the Access enumeration value
Returns:
AccessStatus

getAuthority
String getAuthority()
Get the authority to which this permission applies.
Returns:
String

getAuthorityType
AuthorityType getAuthorityType()
Get the type of authority to which this permission applies.
Returns:
AuthorityType

getPosition
int getPosition()
At what position in the inheritance chain for permissions is this permission set? = 0 -> Set direct on the object. > 0 -> Inherited < 0 -> We don't know and are using this object for reporting (e.g. the actual permissions that apply to a node for the current user)
Returns:
int

isInherited
boolean isInherited()
Is this an inherited permission entry?
Returns:
boolean

isSetDirectly
boolean isSetDirectly()
Is this permission set on the object?
Returns:
boolean

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.