fix(addressbook(dav)): improve handling of addressbook-query

This commit is contained in:
Francis Lachapelle
2022-02-28 17:07:39 -05:00
parent 3f93e6ebc4
commit 7faab9117a
12 changed files with 744 additions and 209 deletions
+21 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright (C) 2006-2017 Inverse inc.
Copyright (C) 2006-2022 Inverse inc.
This file is part of SOGo.
@@ -34,6 +34,8 @@
#import <SOGo/SOGoFolder.h>
@class EOQualifier;
@class EOSortOrdering;
@class NSArray;
@class NSDictionary;
@class NSString;
@@ -46,8 +48,26 @@
sortBy: (NSString *) sortKey
ordering: (NSComparisonResult) sortOrdering
inDomain: (NSString *) domain;
- (NSArray *) lookupContactsWithQualifier: (EOQualifier *) qualifier
andSortOrdering: (EOSortOrdering *) ordering
inDomain: (NSString *) domain;
- (NSDictionary *) lookupContactWithName: (NSString *) aName;
/**
Map a vCard property to a source field name.
Possible vCard properties are:
- EMAIL
- FN
- N
- ORG
- ADR
- TEL
*/
- (void) addVCardProperty: (NSString *) property
toCriteria: (NSMutableArray *) criteria;
@end
#endif /* __Contacts_SOGoContactFolder_H__ */