Class t.w.d.a.DAVPrincipalResource(DAVLeafResource):

Part of twisted.web2.dav.acl View Source View In Hierarchy

Implements interfaces: twisted.web2.dav.idav.IDAVPrincipalResource
Resource representing a WebDAV principal. (RFC 3744, section 2)
Method davComplianceClasses This implementation raises NotImplementedError.
Method isCollection See IDAVResource.isCollection.
Method findChildren See IDAVResource.findChildren.
Method readProperty See IDAVResource.readProperty.
Method alternateURIs See IDAVPrincipalResource.alternateURIs.
Method principalURL See IDAVPrincipalResource.principalURL.
Method groupMembers See IDAVPrincipalResource.groupMembers.
Method groupMemberships See IDAVPrincipalResource.groupMemberships.

Inherited from DAVResource (via DAVLeafResource):

Method principalCollections See IDAVResource.principalCollections.
Method accessControlList See IDAVResource.accessControlList.
Method supportedPrivileges See IDAVResource.supportedPrivileges.
Method renderHTTP See resource.RenderMixIn.renderHTTP.

Inherited from DAVPropertyMixIn (via DAVLeafResource, DAVResource):

Method deadProperties Provides internal access to the WebDAV dead property store. You
Method hasProperty See IDAVResource.hasProperty.
Method writeProperty See IDAVResource.writeProperty.
Method removeProperty See IDAVResource.removeProperty.
Method listProperties See IDAVResource.listProperties.
Method listAllprop Some DAV properties should not be returned to a DAV:allprop query.
Method hasDeadProperty Same as hasProperty, but bypasses the live property store and checks
Method readDeadProperty Same as readProperty, but bypasses the live property store and reads
Method writeDeadProperty Same as writeProperty, but bypasses the live property store and
Method removeDeadProperty Same as removeProperty, but bypasses the live property store and acts
Method contentType
Method displayName

Inherited from MetaDataMixin (via DAVLeafResource, DAVResource, DAVPropertyMixIn):

Method etag
Method lastModified
Method creationDate
Method contentLength
Method contentEncoding
Method exists

Inherited from StaticRenderMixin (via DAVLeafResource, DAVResource):

Method checkPreconditions Checks all preconditions imposed by this resource upon a request made

Inherited from RenderMixin (via DAVLeafResource, DAVResource, StaticRenderMixin):

Method allowedMethods
Method http_OPTIONS Respond to a OPTIONS request.
Method http_TRACE Respond to a TRACE request.
Method http_HEAD Respond to a HEAD request.
Method http_GET Respond to a GET request.
Method render Subclasses should implement this method to do page rendering.

Inherited from MetaDataMixin (via DAVLeafResource, DAVResource, StaticRenderMixin):

Method etag
Method lastModified
Method creationDate
Method contentLength
Method contentType
Method contentEncoding
Method displayName
Method exists

Inherited from LeafResource (via DAVLeafResource):

Method locateChild Locate another object which can be adapted to IResource.

Inherited from RenderMixin (via DAVLeafResource, LeafResource):

Method allowedMethods
Method checkPreconditions Checks all preconditions imposed by this resource upon a request made
Method renderHTTP See iweb.IResource.renderHTTP.
Method http_OPTIONS Respond to a OPTIONS request.
Method http_TRACE Respond to a TRACE request.
Method http_HEAD Respond to a HEAD request.
Method http_GET Respond to a GET request.
Method render Subclasses should implement this method to do page rendering.
def davComplianceClasses(self): (source)
This implementation raises NotImplementedError.
Returnsa sequence of strings denoting WebDAV compliance classes. For example, a DAV level 2 server might return ("1", "2").
def isCollection(self): (source)

See IDAVResource.isCollection.

This implementation raises NotImplementedError; a subclass must override this method.
def findChildren(self, depth): (source)

See IDAVResource.findChildren.

This implementation raises returns () if depth is 0 and this resource is a collection. Otherwise, it raises NotImplementedError; a subclass must override this method.
def readProperty(self, property, request): (source)
See IDAVResource.readProperty.
def alternateURIs(self): (source)

See IDAVPrincipalResource.alternateURIs.

This implementation returns (). Subclasses should override this method to provide alternate URIs for this resource if appropriate.
def principalURL(self): (source)

See IDAVPrincipalResource.principalURL.

This implementation raises NotImplementedError. Subclasses must override this method to provide the principal URL for this resource.
def groupMembers(self): (source)

See IDAVPrincipalResource.groupMembers.

This implementation returns (), which is appropriate for non-group principals. Subclasses should override this method to provide member URLs for this resource if appropriate.
def groupMemberships(self): (source)

See IDAVPrincipalResource.groupMemberships.

This implementation raises NotImplementedError. Subclasses must override this method to provide the group URLs for this resource.
API Documentation for twisted, generated by pydoctor.