com.ibm.portal.resolver.webdav.tree.helper
Class DefaultWebdavAccessControlEntry

java.lang.Object
  extended by com.ibm.portal.resolver.webdav.tree.helper.DefaultWebdavAccessControlEntry
All Implemented Interfaces:
WebdavAccessControlEntry

public abstract class DefaultWebdavAccessControlEntry
extends java.lang.Object
implements WebdavAccessControlEntry

Provides information about an access control entry

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

Constructor Summary
DefaultWebdavAccessControlEntry()
           
 
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 reset(java.net.URI inherited, java.net.URI principal, boolean isProtected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.portal.resolver.webdav.tree.WebdavAccessControlEntry
visitPrivileges
 

Constructor Detail

DefaultWebdavAccessControlEntry

public DefaultWebdavAccessControlEntry()
Method Detail

reset

public void reset(java.net.URI inherited,
                  java.net.URI principal,
                  boolean isProtected)

getInherited

public java.net.URI getInherited()
Description copied from interface: WebdavAccessControlEntry
The resource from which the privilege got inherited. A relative WebDAV URI pointing to the resource with the inherited privilege.

Specified by:
getInherited in interface WebdavAccessControlEntry
Returns:
an URI, or null

getPrincipal

public java.net.URI getPrincipal()
                          throws java.io.IOException
Description copied from interface: WebdavAccessControlEntry

Returns information about the principal (relative WebDAV path)

Specified by:
getPrincipal in interface WebdavAccessControlEntry
Returns:
the principal, not null
Throws:
java.io.IOException

isProtected

public boolean isProtected()
Description copied from interface: WebdavAccessControlEntry
Is the ACE protected? Specifies whether an ACE is protected. A protected ACE cannot be removed in an ACL update call.

Specified by:
isProtected in interface WebdavAccessControlEntry
Returns:
if the privilege is protected: true if it is protected