public class AccessControlList
extends java.lang.Object
Contains a list of access controls for a shared filesystem.
| Constructor and Description |
|---|
AccessControlList()
Create an access control list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addControl(AccessControl accCtrl)
Add an access control to the list
|
AccessControl |
getControlAt(int idx)
Return the specified access control
|
int |
getDefaultAccessLevel()
Get the default access level
|
int |
numberOfControls()
Return the number of access controls in the list
|
void |
removeAllControls()
Remove all access controls from the list
|
AccessControl |
removeControl(int idx)
Remove the specified access control from the list.
|
void |
setDefaultAccessLevel(int level)
Set the default access level
|
java.lang.String |
toString()
Return the access control list as a string.
|
public final int getDefaultAccessLevel()
public final void setDefaultAccessLevel(int level)
throws InvalidACLTypeException
level - intInvalidACLTypeException - If the access level is invalidpublic final void addControl(AccessControl accCtrl)
accCtrl - AccessControlpublic final AccessControl getControlAt(int idx)
idx - intpublic final int numberOfControls()
public final void removeAllControls()
public final AccessControl removeControl(int idx)
idx - intpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.