com.ibm.portal.resolver.webdav.tree
Interface WebdavPrivilegeHandler


public interface WebdavPrivilegeHandler

Callback interface used to indicate a privilege. The interface is used by the (WebdavPrivilegeHandler, Object) method to enumerate the privileges of the current user on a resource and the (WebdavPrivilegeHandler, Object) method to enumerate the privileges of an user within an access control entry of a resource.

Since:
7.0.0.1
Note:
This interface is designed to be implemented by clients.

Method Summary
 void handlePrivilege(javax.xml.namespace.QName predefinedPrivilege)
          Called to indicate a simple privilege represented by a QName
 void handlePrivilege(javax.xml.transform.Source customPrivilege)
          Called to indicate a complex privilege that cannot be represented by a QName
 

Method Detail

handlePrivilege

void handlePrivilege(javax.xml.namespace.QName predefinedPrivilege)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Called to indicate a simple privilege represented by a QName

Parameters:
predefinedPrivilege - the privilege, not null
Throws:
org.xml.sax.SAXException
java.io.IOException

handlePrivilege

void handlePrivilege(javax.xml.transform.Source customPrivilege)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Called to indicate a complex privilege that cannot be represented by a QName

Parameters:
customPrivilege - the privilege, not null
Throws:
org.xml.sax.SAXException
java.io.IOException