org.apache.chemistry.opencmis.commons.impl.dataobjects
Class AccessControlListImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
      extended by org.apache.chemistry.opencmis.commons.impl.dataobjects.AccessControlListImpl
All Implemented Interfaces:
Serializable, Acl, ExtensionsData

public class AccessControlListImpl
extends AbstractExtensionData
implements Acl, Serializable

Access control list data implementation.

See Also:
Serialized Form

Constructor Summary
AccessControlListImpl()
          Constructor.
AccessControlListImpl(List<Ace> aces)
          Constructor.
 
Method Summary
 List<Ace> getAces()
          Returns the list of ACEs.
 Boolean isExact()
          Indicates if this ACL expresses all permissions.
 void setAces(List<Ace> aces)
           
 void setExact(Boolean isExact)
           
 String toString()
           
 
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
getExtensions, setExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Constructor Detail

AccessControlListImpl

public AccessControlListImpl()
Constructor.


AccessControlListImpl

public AccessControlListImpl(List<Ace> aces)
Constructor.

Method Detail

getAces

public List<Ace> getAces()
Description copied from interface: Acl
Returns the list of ACEs.

Specified by:
getAces in interface Acl

setAces

public void setAces(List<Ace> aces)

isExact

public Boolean isExact()
Description copied from interface: Acl
Indicates if this ACL expresses all permissions.

Specified by:
isExact in interface Acl
Returns:
if true then the ACL expresses the exact permission set, if false then there are other permission rules that cannot be expressed through ACEs, if null then it this in unknown (the repository did not provide this information)

setExact

public void setExact(Boolean isExact)

toString

public String toString()
Overrides:
toString in class AbstractExtensionData


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