uk.ac.soton.itinnovation.registry.component.xml.db
Interface PermissionManagement
- All Known Subinterfaces:
- XmlDbAccess<E>
- All Known Implementing Classes:
- XmlDbAccessAdapter, XmlDbAccessXmlDb
public interface PermissionManagement
setPermission
void setPermission(String directoryPath,
String resourceName,
String str)
throws PermissionManagementException
- Change the permissions of a resource under the specified directory.
Set permissions using a string.
The string has the following syntax: [user|group|other]=[+|-][read|write|update]
For example, to set read and write permissions for the group,
but not for others: group=+read,+write,other=-read,-write
The new settings are or'ed with the existing settings.
- Parameters:
directoryPath - resourceName - str -
- Throws:
PermissionManagementException
setPermission
void setPermission(String directoryPath,
String str)
throws PermissionManagementException
- Change the permissions of a specified directory.
Set permissions using a string.
The string has the following syntax: [user|group|other]=[+|-][read|write|update]
For example, to set read and write permissions for the group,
but not for others: group=+read,+write,other=-read,-write
The new settings are or'ed with the existing settings.
- Parameters:
directoryPath - str -
- Throws:
PermissionManagementException
Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.