org.apache.chemistry.opencmis.commons.data
Interface Ace

All Superinterfaces:
ExtensionsData

public interface Ace
extends ExtensionsData

Access Control Entry (ACE).


Method Summary
 List<String> getPermissions()
          Returns the permissions granted to the principal.
 Principal getPrincipal()
          Returns the ACE principal.
 String getPrincipalId()
          Returns the ACE principal id.
 boolean isDirect()
          Indicates if the ACE was directly applied to the object or has been inherited from another object (e.g.
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

getPrincipal

Principal getPrincipal()
Returns the ACE principal.


getPrincipalId

String getPrincipalId()
Returns the ACE principal id. Shortcut for getPrincipal().getId().


getPermissions

List<String> getPermissions()
Returns the permissions granted to the principal.


isDirect

boolean isDirect()
Indicates if the ACE was directly applied to the object or has been inherited from another object (e.g. from the folder it resides in).



Copyright © 2009-2010 The Apache Software Foundation. All Rights Reserved.