2 Copyright (C) 2000-2005 SKYRIX Software AG
4 This file is part of SOPE.
6 SOPE is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with SOPE; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef __NGObjWeb_EOFetchSpecification_SoDAV_H__
23 #define __NGObjWeb_EOFetchSpecification_SoDAV_H__
25 #import <EOControl/EOFetchSpecification.h>
27 @class NSString, NSArray;
30 Additional WebDAV related methods for EOFetchSpecification.
31 EOFetchSpecification is used to represent PROPFIND and SEARCH queries.
33 If the selectedWebDAVPropertyNames (= the 'attributes' hint) is empty,
34 this designates that a "propall" query is to be done (a SELECT *).
36 Note: the propertynames are given back as fully qualified XML names, eg
40 The namespace is enclosed in the braces.
44 flat - 1,noroot - 'shallow traversal of'
47 deep - infinity - 'hierarchical traversal of'
51 scope - scopeOfWebDAVQuery
52 attributes - selectedWebDAVPropertyNames
53 namesOnly - queryWebDAVPropertyNamesOnly
54 bulkTargetKeys - davBulkTargetKeys
57 @interface EOFetchSpecification(SoDAV)
59 + (EOFetchSpecification *)parseWebDAVSQLString:(NSString *)_s;
61 - (NSArray *)selectedWebDAVPropertyNames;
62 - (NSString *)scopeOfWebDAVQuery; /* flat, deep, self, flat+self */
63 - (BOOL)queryWebDAVPropertyNamesOnly;
64 - (NSArray *)davBulkTargetKeys;
68 #endif /* __NGObjWeb_EOFetchSpecification_SoDAV_H__ */