|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.filesystem.CSAccessControlEntry
The CSAccessControlEntry class provides a representation of an Access Control Entry
within the Blackboard application. An object exposing the individual permissions of on a file/directory for a specific user or list of users.
Methods exist to both read and set the permissions.
| Method Summary | |
boolean |
canDelete()
Is this file/directory deleteable by the user/users identified by the associated PrincipalID |
boolean |
canManage()
Is this file/directory manageable by the user/users identified by the associated PrincipalID |
boolean |
canRead()
Is this file/directory readable by the user/users identified by the associated PrincipalID |
boolean |
canWrite()
Is this file/directory writeable by the user/users identified by the associated PrincipalID |
java.lang.String |
getPrincipalID()
Get the PrincipalID for this set of permissions. |
void |
updatePermissions(boolean read,
boolean write,
boolean delete,
boolean manage)
Sets the permissions (read/write/delete/manage) for the user/users identified by the associated PrincipalID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getPrincipalID()
throws CSFileSystemException
String denoting the principal Id of the CSAccessControlEntry.
CSFileSystemExceptionpublic boolean canRead()
public boolean canWrite()
public boolean canDelete()
public boolean canManage()
public void updatePermissions(boolean read,
boolean write,
boolean delete,
boolean manage)
throws CSFileSystemException
read - true if the CSAccessControlEntry should have Read permissions, false otherwise.write - true if the CSAccessControlEntry should have Write permissions, false otherwise.delete - true if the CSAccessControlEntry should have Delete permissions, false otherwise.manage - true if the CSAccessControlEntry should have Manage permissions, false otherwise.
CSFileSystemException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||