Monotone-Parent: b530204fe558f57d05223cf4090c57cbaaf4bdd9

Monotone-Revision: 5db151dfdbd8711e6bd1379346b3f6d6886bfbf1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-05-30T21:23:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-05-30 21:23:03 +00:00
parent 3c16ada230
commit 59faa3a7bd
3 changed files with 24 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2011-05-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoContentObject.m (-version, -createDate)
(-lastModified): new accessors that return the value of the
corresponding ivar.
* SoObjects/SOGo/SOGoGCSFolder.m (-davCollectionTag): base the
return value on the new -[GCSFolder lastModificationDate] method.
(_isValidSyncToken): same as above.

View File

@@ -56,6 +56,11 @@
- (BOOL) isNew;
- (void) setIsNew: (BOOL) newIsNew;
- (unsigned int) version;
- (NSCalendarDate *) creationDate;
- (NSCalendarDate *) lastModified;
- (NSString *) contentAsString;
- (NSException *) saveContentString: (NSString *) _str
baseVersion: (unsigned int) _baseVersion;

View File

@@ -167,6 +167,21 @@
isNew = newIsNew;
}
- (unsigned int) version
{
return version;
}
- (NSCalendarDate *) creationDate
{
return creationDate;
}
- (NSCalendarDate *) lastModified
{
return lastModified;
}
- (NSString *) contentAsString
{
return content;