]> err.no Git - sope/blob - sope-appserver/NGObjWeb/WebDAV/DAVFetchSpec.txt
synced with latest gstep-make process
[sope] / sope-appserver / NGObjWeb / WebDAV / DAVFetchSpec.txt
1 DAVFetchSpec
2 ============
3
4 Required Context
5
6   request-url => entity
7
8 DAV PROPFIND
9
10   entity:
11     Request URL
12
13   scope:
14     0         - object
15     1         - collection children + collection
16     1,noroot  - collection children
17     infinity  - all children, deep
18
19   attribute selection
20     propnames  ([[obj soClass] -allKeysInContext:] ?)
21     allprops   (= SQL SELECT * FROM...)
22
23 DAV SEARCH SQL
24   
25   entity:
26     traversal of "xxx" -> [requesturl relativeURL:xxx]
27     => only children allowed in FROM ?
28   
29   scope
30     shallow (= depth 1 or 1,noroot ??)
31       FROM Scope('shallow traversal of ""')
32       FROM scope('shallow traversal of "http://x:23000/a/ol/helge/Contacts"')
33
34     hierarchical (= depth infinity)    
35       from scope('hierarchical traversal of "/janb/"')
36   
37   attribute selection
38     named, fqn
39       "DAV:creationdate", 
40       "http://schemas.microsoft.com/mapi/email3addrtype", 
41       "urn:schemas:contacts:cn"
42     *
43
44
45 WHERE:
46 where "DAV:iscollection" = False and "DAV:ishidden" = False      order by "http://schemas.microsoft.com/mapi/proptag/x0e230003"