|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.coi.tools.os.win.AccessControlList
public class AccessControlList
Data container for access control lists used by the registry stuff in the java and in the native part. DO NOT CHANGE METHODE SIGNATURES etc. without addapt the native methods RegistryImpl.modifyKeyACL and RegistryImpl.getKeyACL.
Nested Class Summary | |
---|---|
static class |
AccessControlList.AccessControlEntry
This class holds a representation of MS Windows ACEs. |
Field Summary | |
---|---|
private java.util.ArrayList<AccessControlList.AccessControlEntry> |
permissions
|
private static long |
serialVersionUID
Required (serializable) |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
AccessControlList()
Default constructor. |
Method Summary | |
---|---|
AccessControlList.AccessControlEntry |
getACE(int num)
Returns the access control entry related to the given id. |
int |
getACECount()
Returns number of access control entries. |
void |
setACE(java.lang.String owner,
int allowed,
int denied)
Creates an ACE entry in the permission array with the given values. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
private static final long serialVersionUID
private java.util.ArrayList<AccessControlList.AccessControlEntry> permissions
Constructor Detail |
---|
public AccessControlList()
Method Detail |
---|
public void setACE(java.lang.String owner, int allowed, int denied)
owner
- owner of the ACEallowed
- access allowed maskdenied
- access denied maskpublic AccessControlList.AccessControlEntry getACE(int num)
num
- id in the internal permisson array.
public int getACECount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |