Monotone-Parent: 1b85a9d7216f9937a44da6e0649a8b8f792b25c9

Monotone-Revision: 5c3fb5da8513ab5020b731e15b09dc99dab3047c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-03-04T20:57:36
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-03-04 20:57:36 +00:00
parent 852a2e95ab
commit 6277fa062c
7 changed files with 36 additions and 4 deletions
+7
View File
@@ -1,3 +1,10 @@
2008-03-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoObject.m ([SOGoObject -isFolderish]): new
parent method, meant to be overriden.
([SOGoObject -davIsCollection]): moved method from SOGoFolder up
to this parent class.
2008-02-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder
@@ -205,6 +205,11 @@
return r;
}
- (BOOL) isFolderish
{
return NO;
}
- (NSString *) davContentType
{
return @"text/calendar";
+2
View File
@@ -48,6 +48,8 @@
NGImap4Connection *imap4;
}
- (BOOL) isFolderish;
- (id) initWithImap4URL: (NSURL *) _url
inContainer: (id) _container;
+5
View File
@@ -60,6 +60,11 @@ static BOOL debugOn = YES;
[super dealloc];
}
- (BOOL) isFolderish
{
return YES;
}
/* hierarchy */
- (SOGoMailAccount *) mailAccountFolder
+5
View File
@@ -449,6 +449,11 @@ static BOOL debugOn = NO;
return klazz;
}
- (BOOL) isFolderish
{
return NO;
}
/* etag support */
- (id)davEntityTag {
-4
View File
@@ -377,10 +377,6 @@
reason:@"this object cannot be copied via WebDAV"];
}
- (BOOL)davIsCollection {
return [self isFolderish];
}
/* acls */
- (NSArray *) aclUsers
+12
View File
@@ -634,6 +634,18 @@ static BOOL sendACLAdvisories = NO;
return [NSNumber numberWithBool:YES]; /* delete worked out ... */
}
- (BOOL) isFolderish
{
[self subclassResponsibility: _cmd];
return NO;
}
- (BOOL) davIsCollection
{
return [self isFolderish];
}
- (NSString *) davContentType
{
return @"text/plain";