PREV CLASS NEXT CLASS
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.resolver.webdav.tree
Interface WebdavAccessControlTreeModel<T>
- All Superinterfaces:
- Disposable, WebdavTreeModel<T>
public interface WebdavAccessControlTreeModel<T>- extends WebdavTreeModel<T>
Implemented by tree models that can provide information about their ACL.
- Since:
- 7.0.0.1
- Note:
This interface is designed to be implemented by clients.
Nested Class Summary static class WebdavAccessControlTreeModel.AclRestriction
Enumeration about the supported acl-restrictions
Method Summary java.net.URI getOwner(T item)
Returns information about the owner principal.void visitAccessControlList(WebdavAccessControlEntryHandler handler, T item)
The current privileges of the different users on a resource.void visitAclRestrictions(WebdavAclRestrictionHandler handler)
The acl-restrictions of this tree model.void visitCurrentUserPrivileges(WebdavPrivilegeHandler handler, T item)
The privileges of the current user on a resource.void visitSupportedPrivileges(WebdavSupportedPrivilegeHandler handler, T item)
The supported privileges of a resource.
Methods inherited from interface com.ibm.portal.resolver.webdav.tree.WebdavTreeModel createDataSource, getItem, getLocalized, getName, getTreeModel, isCollection
Methods inherited from interface com.ibm.portal.Disposable dispose
Method Detail getOwner
java.net.URI getOwner(T item) throws java.io.IOException
Returns information about the owner principal.
The information is used to compute the following WebDAV properties:
- DAV:owner
- To provide the owner principal of a resource.
- Parameters:
- item - item, not null
- Returns:
- the owner or null
- Throws:
- java.io.IOException
visitSupportedPrivileges
void visitSupportedPrivileges(WebdavSupportedPrivilegeHandler handler, T item) throws java.io.IOException
- The supported privileges of a resource.
- Parameters:
- handler - Provide the handler for the privileges supported by an item.
- item - item, not null
- Throws:
- java.io.IOException
visitCurrentUserPrivileges
void visitCurrentUserPrivileges(WebdavPrivilegeHandler handler, T item) throws java.io.IOException
- The privileges of the current user on a resource.
- Parameters:
- handler - Provide the handler for the privileges of the current user on an item.
- item - item, not null
- Throws:
- java.io.IOException
visitAccessControlList
void visitAccessControlList(WebdavAccessControlEntryHandler handler, T item) throws java.io.IOException
- The current privileges of the different users on a resource.
- Parameters:
- handler - Provide the handler for the current privileges of the different users on an item.
- item - item, not null
- Throws:
- java.io.IOException
visitAclRestrictions
void visitAclRestrictions(WebdavAclRestrictionHandler handler) throws java.io.IOExceptionPREV CLASS NEXT CLASS
- The acl-restrictions of this tree model.
- Parameters:
- handler - Provide the handler for the acl-restrictions.
- Throws:
- java.io.IOException
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD