Use address books search fields in Contacts module

Searches can now be scoped to one or multiple fields. Those fields are
now dynamic and can be defined using SearchFieldNames in external
contacts sources (SQL and LDAP).
This commit is contained in:
Francis Lachapelle committed 2017-11-21 15:56:16 -05:00
1 parent aed62cab26
commit eb90760b39
19 files changed
+275 -137

No files matched your search

+2
View File
@@ -39,6 +39,7 @@
inDomain: (NSString *) domain;
- (NSString *) domain;
- (NSArray *) searchFields;
/* requires a "." to obtain the full list of contacts */
- (void) setListRequiresDot: (BOOL) aBool;
@@ -63,6 +64,7 @@
- (NSArray *) allEntryIDs;
- (NSArray *) allEntryIDsVisibleFromDomain: (NSString *) domain;
- (NSArray *) fetchContactsMatching: (NSString *) filter
withCriteria: (NSArray *) criteria
inDomain: (NSString *) domain;
- (void) setSourceID: (NSString *) newSourceID;