org.nuxeo.ecm.core.api.security.impl
Class ACLImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ACE>
org.nuxeo.ecm.core.api.security.impl.ACLImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<ACE>, Collection<ACE>, List<ACE>, RandomAccess, ACL
public class ACLImpl
- extends ArrayList<ACE>
- implements ACL
An ACL implementation.
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Method Summary |
Object |
clone()
Returns a recursive copy of the ACL sharing no mutable substructure with
the original. |
ACE[] |
getACEs()
Gets the ACEs defined by this list as an array. |
String |
getName()
Gets the ACL name. |
boolean |
isReadOnly()
|
void |
setACEs(ACE[] aces)
Sets the ACEs defined by this ACL. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
ACLImpl
public ACLImpl(String name,
boolean isReadOnly)
ACLImpl
public ACLImpl()
ACLImpl
public ACLImpl(String name)
getName
public String getName()
- Description copied from interface:
ACL
- Gets the ACL name.
- Specified by:
getName
in interface ACL
- Returns:
- the ACL name
getACEs
public ACE[] getACEs()
- Description copied from interface:
ACL
- Gets the ACEs defined by this list as an array.
- Specified by:
getACEs
in interface ACL
- Returns:
setACEs
public void setACEs(ACE[] aces)
- Description copied from interface:
ACL
- Sets the ACEs defined by this ACL.
- Specified by:
setACEs
in interface ACL
- Parameters:
aces
- the ACE array
isReadOnly
public boolean isReadOnly()
clone
public Object clone()
- Description copied from interface:
ACL
- Returns a recursive copy of the ACL sharing no mutable substructure with
the original.
- Specified by:
clone
in interface ACL
- Overrides:
clone
in class ArrayList<ACE>
- Returns:
- a copy
Copyright © 2011 Nuxeo SAS. All Rights Reserved.