Part of twisted.web2.dav.idav View Source View In Hierarchy
Known subclasses: twisted.web2.dav.idav.IDAVPrincipalResource
Known implementations: twisted.web2.dav.resource.DAVResourceMethod | isCollection | Checks whether this resource is a collection resource. |
Method | findChildren | Returns an iterable of child resources for the given depth. |
Method | hasProperty | Checks whether the given property is defined on this resource. |
Method | readProperty | Reads the given property on this resource. |
Method | writeProperty | Writes the given property on this resource. |
Method | removeProperty | Removes the given property from this resource. |
Method | listProperties | |
Method | principalCollections | Provides the URIs of collection resources which contain principal |
Method | accessControlList | |
Method | supportedPrivileges |
Inherited from IResource:
Method | locateChild | Locate another object which can be adapted to IResource. |
Method | renderHTTP | Return an IResponse or a deferred which will fire an |
Returns | True if this resource is a collection resource,
False otherwise.
|
(resource, uri)
, where resource
is the child
resource and uri
is a URL path relative to this
resource.
Parameters | depth | the search depth (one of "0" ,
"1" , or "infinity" )
|
Returns | an iterable of tuples (resource, uri) .
|
Parameters | property | an empty davxml.WebDAVElement instance or a qname
tuple.
|
request | the request being processed. | |
Returns | a deferred value of True if the given property is set on
this resource, or False otherwise.
|
Parameters | property | an empty davxml.WebDAVElement class or instance, or a
qname tuple.
|
request | the request being processed. | |
Returns | a deferred davxml.WebDAVElement instance containing the
value of the given property.
| |
Raises | HTTPError | (containing a response with a status code of
responsecode.CONFLICT ) if property is not set
on this resource.
|
Parameters | property | a davxml.WebDAVElement instance.
|
request | the request being processed. | |
Returns | an empty deferred which fires when the operation is completed. | |
Raises | HTTPError | (containing a response with a status code of
responsecode.CONFLICT ) if property is a
read-only property.
|
Parameters | property | a davxml.WebDAVElement instance or a qname tuple.
|
request | the request being processed. | |
Returns | an empty deferred which fires when the operation is completed. | |
Raises | HTTPError | (containing a response with a status code of
responsecode.CONFLICT ) if property is a
read-only property or if the property does not exist.
|
Parameters | request | the request being processed. |
Returns | a deferred iterable of qnames for all properties defined for this resource. |
Returns | a sequence of URIs referring to collection resources which implement
the DAV:principal-property-search REPORT .
|
Returns | the davxml.ACL element containing the access control list
for this resource.
|
Returns | a sequence of the access control privileges which are supported by this resource. |