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

All Known Implementing Classes:
DefaultWebdavAccessControlEntry

public interface WebdavAccessControlEntry

Provides information about a resource's access control entry

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

Method Summary
 java.net.URI getInherited()
          The resource from which the privilege got inherited.
 java.net.URI getPrincipal()
           Returns information about the principal (relative WebDAV path)
 boolean isProtected()
          Is the ACE protected? Specifies whether an ACE is protected.
 void visitPrivileges(WebdavPrivilegeHandler handler)
          Visitor call to provide the handler for the privileges.
 

Method Detail

isProtected

boolean isProtected()
Is the ACE protected? Specifies whether an ACE is protected. A protected ACE cannot be removed in an ACL update call.

Returns:
if the privilege is protected: true if it is protected

getPrincipal

java.net.URI getPrincipal()
                          throws java.io.IOException

Returns information about the principal (relative WebDAV path)

Returns:
the principal, not null
Throws:
java.io.IOException

getInherited

java.net.URI getInherited()
The resource from which the privilege got inherited. A relative WebDAV URI pointing to the resource with the inherited privilege.

Returns:
an URI, or null

visitPrivileges

void visitPrivileges(WebdavPrivilegeHandler handler)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Visitor call to provide the handler for the privileges. Predefined privileges in the DAV: namespace would be DAV:read DAV:write DAV:write-properties DAV:write-content DAV:unlock DAV:read-acl DAV:read-current-user-privilege-set DAV:write-acl DAV:bind DAV:unbind DAV:all

Throws:
org.xml.sax.SAXException
java.io.IOException