[Erp5-report] r9981 - /erp5/trunk/products/ERP5/Document/Domain.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 15 13:02:48 CEST 2006


Author: jp
Date: Fri Sep 15 13:02:46 2006
New Revision: 9981

URL: http://svn.erp5.org?rev=9981&view=rev
Log:
Added experimental placeholder for DAV support

Modified:
    erp5/trunk/products/ERP5/Document/Domain.py

Modified: erp5/trunk/products/ERP5/Document/Domain.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Domain.py?rev=9981&r1=9980&r2=9981&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Domain.py (original)
+++ erp5/trunk/products/ERP5/Document/Domain.py Fri Sep 15 13:02:46 2006
@@ -126,3 +126,11 @@
     if parent is None:
       parent = self
     return self.portal_domains.getChildDomainValueList(parent, **kw)
+
+  # Experimental - WebDAV browsing support - ask JPS
+  def experimental_listDAVObjects(self):
+    result = self.objectValues(portal_type = self.getPortalType())
+    result.extend(self.portal_catalog(selection_domain = self))
+    return result
+
+




More information about the Erp5-report mailing list