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

All Superinterfaces:
Localized
All Known Implementing Classes:
DefaultWebdavSupportedPrivilege

public interface WebdavSupportedPrivilege
extends Localized

Provides information about a resource's supported privilege

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

Method Summary
 boolean isAbstract()
          Is the privilege abstract? Specifies whether a privilege is abstract.
 void visitContainedPrivileges(WebdavSupportedPrivilegeHandler handler)
          The contained privileges.
 void visitPrivilege(WebdavPrivilegeHandler handler)
          Representation of the privilege.
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Method Detail

isAbstract

boolean isAbstract()
Is the privilege abstract? Specifies whether a privilege is abstract. An abstract privilege cannot be set in an access control element (ACE) on that resource.

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

visitPrivilege

void visitPrivilege(WebdavPrivilegeHandler handler)
Representation of the privilege. 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


visitContainedPrivileges

void visitContainedPrivileges(WebdavSupportedPrivilegeHandler handler)
The contained privileges. Provide a handler for the implied privileges. If this privilege is a leaf privilege, then the call can be ignored.