Monotone-Parent: 71a37a8727106fb3b5a2e048b75a48d35e41e9c7

Monotone-Revision: 969dc7fa865e2a68ad6c7444c791560305b19ca9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-09-22T20:30:38
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-09-22 20:30:38 +00:00
parent 9d701ba842
commit 2010e69ba1
3 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2008-09-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* GCSFolder.m ([GCSFolder
-fetchFields:fieldsfetchSpecification:specignoreDeleted:ignoreDeleted]):
made method public.
2008-08-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* GCSFolder.m ([GCSFolder

View File

@ -130,6 +130,10 @@
- (NSArray *) fetchFields: (NSArray *) _flds
fetchSpecification: (EOFetchSpecification *) _fs;
- (NSArray *) fetchFields: (NSArray *) fields
fetchSpecification: (EOFetchSpecification *) spec
ignoreDeleted: (BOOL) ignoreDeleted;
- (NSArray *) fetchFields: (NSArray *) _flds
matchingQualifier: (EOQualifier *) _q;
- (NSArray *) fetchAclMatchingQualifier: (EOQualifier *) _q;

View File

@ -501,9 +501,9 @@ static NSArray *contentFieldNames = nil;
return sql;
}
- (NSArray *) _fetchFields: (NSArray *) fields
fetchSpecification: (EOFetchSpecification *) spec
ignoreDeleted: (BOOL) ignoreDeleted
- (NSArray *) fetchFields: (NSArray *) fields
fetchSpecification: (EOFetchSpecification *) spec
ignoreDeleted: (BOOL) ignoreDeleted
{
EOAdaptorChannel *channel;
NSException *error;
@ -577,7 +577,7 @@ static NSArray *contentFieldNames = nil;
columns = [NSArray arrayWithObjects: @"c_content", @"c_version",
@"c_creationdate", @"c_lastmodified", nil];
rows
= [self _fetchFields: columns
= [self fetchFields: columns
fetchSpecification: [self _simpleFetchSpecificationWith: @"c_name"
andValue: name]
ignoreDeleted: YES];
@ -834,10 +834,10 @@ static NSArray *contentFieldNames = nil;
if (doLogStore)
[self logWithFormat:@"should store content: '%@'\n%@", _name, _content];
rows = [self _fetchFields: [NSArray arrayWithObjects:
@"c_version",
@"c_deleted",
nil]
rows = [self fetchFields: [NSArray arrayWithObjects:
@"c_version",
@"c_deleted",
nil]
fetchSpecification: [self _simpleFetchSpecificationWith:
@"c_name"
andValue: _name]
@ -1107,7 +1107,7 @@ static NSArray *contentFieldNames = nil;
- (NSArray *) fetchFields: (NSArray *) fields
fetchSpecification: (EOFetchSpecification *) spec
{
return [self _fetchFields: fields
return [self fetchFields: fields
fetchSpecification: spec
ignoreDeleted: YES];
}