mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-22 15:13:18 +00:00
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:
@@ -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";
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
NGImap4Connection *imap4;
|
||||
}
|
||||
|
||||
- (BOOL) isFolderish;
|
||||
|
||||
- (id) initWithImap4URL: (NSURL *) _url
|
||||
inContainer: (id) _container;
|
||||
|
||||
|
||||
@@ -60,6 +60,11 @@ static BOOL debugOn = YES;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (BOOL) isFolderish
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
/* hierarchy */
|
||||
|
||||
- (SOGoMailAccount *) mailAccountFolder
|
||||
|
||||
@@ -449,6 +449,11 @@ static BOOL debugOn = NO;
|
||||
return klazz;
|
||||
}
|
||||
|
||||
- (BOOL) isFolderish
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
/* etag support */
|
||||
|
||||
- (id)davEntityTag {
|
||||
|
||||
@@ -377,10 +377,6 @@
|
||||
reason:@"this object cannot be copied via WebDAV"];
|
||||
}
|
||||
|
||||
- (BOOL)davIsCollection {
|
||||
return [self isFolderish];
|
||||
}
|
||||
|
||||
/* acls */
|
||||
|
||||
- (NSArray *) aclUsers
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user