Exemple #1
0
 def get_value(self, href, resource, el, environ):
     el.append(webdav.create_href(
         resource.get_principal_address(), href))
Exemple #2
0
 def get_value(self, base_href, resource, el, environ):
     for href in resource.get_addressbook_home_set():
         href = webdav.ensure_trailing_slash(href)
         el.append(webdav.create_href(href, base_href))
Exemple #3
0
 async def get_value(self, base_href, resource, el, environ):
     for href in resource.get_calendar_proxy_write_for():
         el.append(webdav.create_href(href, base_href))
Exemple #4
0
 async def get_value(self, base_href, resource, el, environ):
     el.append(webdav.create_href(resource.get_source_url(), base_href))
Exemple #5
0
 async def get_value(self, base_href, resource, el, environ):
     for href in resource.get_group_membership():
         el.append(webdav.create_href(href, base_href=href))
Exemple #6
0
 async def get_value(self, base_href, resource, el, environ):
     owner_href = resource.get_owner()
     if owner_href is not None:
         el.append(webdav.create_href(owner_href, base_href=base_href))
Exemple #7
0
 def get_value(self, base_href, resource, el, environ):
     for timezone_service_href in self._timezone_services:
         el.append(webdav.create_href(timezone_service_href, base_href))