mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: 4a0075d77198c329e5e471528db155313b163846
Monotone-Revision: baff79ac3da07f610290a1d61e142dace0bb02a4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-06-13T19:59:22 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -25,25 +25,24 @@
|
||||
#import <SOGo/SOGoObject.h>
|
||||
|
||||
@class NSArray;
|
||||
@class NSCalendarDate;
|
||||
@class NSException;
|
||||
@class NSString;
|
||||
@class SOGoGCSFolder;
|
||||
|
||||
@interface SOGoContentObject : SOGoObject
|
||||
{
|
||||
NSString *ocsPath;
|
||||
NSDictionary *record;
|
||||
BOOL isNew;
|
||||
NSString *content;
|
||||
unsigned int version;
|
||||
NSCalendarDate *creationDate;
|
||||
NSCalendarDate *lastModified;
|
||||
}
|
||||
|
||||
/* accessors */
|
||||
|
||||
- (void) setOCSPath: (NSString *) _path;
|
||||
- (NSString *) ocsPath;
|
||||
|
||||
/* folder */
|
||||
|
||||
- (NSString *) ocsPathOfContainer;
|
||||
- (GCSFolder *) ocsFolder;
|
||||
+ (SOGoContentObject *) objectWithRecord: (NSDictionary *) objectRecord
|
||||
inContainer: (SOGoGCSFolder *) newContainer;
|
||||
- (id) initWithRecord: (NSDictionary *) objectRecord
|
||||
inContainer: (id) newContainer;
|
||||
|
||||
/* content */
|
||||
|
||||
@@ -57,6 +56,9 @@
|
||||
/* etag support */
|
||||
|
||||
- (id) davEntityTag;
|
||||
- (NSString *) davCreationDate;
|
||||
- (NSString *) davLastModified;
|
||||
- (NSString *) davContentLength;
|
||||
|
||||
/* message type */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user