mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
Monotone-Parent: c8aafc081b56ac07184d9161b10f7f392068fc71
Monotone-Revision: d7db5635191ba2f21ed857960885518d9ff22bc4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-09T21:21:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
ff11c1bfe4
commit
ed76724cc5
4 files changed
+50
-8
No files matched your search
@@ -23,9 +23,11 @@
|
||||
#import <SaxObjC/SaxObjC.h>
|
||||
#import <NGCards/NGCards.h>
|
||||
#import <NGObjWeb/SoObject+SoDAV.h>
|
||||
#import <NGObjWeb/WOContext.h>
|
||||
#import <NGObjWeb/WOMessage.h>
|
||||
#import <NGExtensions/NGCalendarDateRange.h>
|
||||
|
||||
#import <NGObjWeb/SoClassSecurityInfo.h>
|
||||
// #import <NGObjWeb/SoClassSecurityInfo.h>
|
||||
#import <SOGo/SOGoCustomGroupFolder.h>
|
||||
#import <SOGo/AgenorUserManager.h>
|
||||
#import <SOGo/SOGoPermissions.h>
|
||||
@@ -58,7 +60,7 @@ static NSNumber *sharedYes = nil;
|
||||
{
|
||||
NGLoggerManager *lm;
|
||||
static BOOL didInit = NO;
|
||||
SoClassSecurityInfo *securityInfo;
|
||||
// SoClassSecurityInfo *securityInfo;
|
||||
|
||||
if (didInit) return;
|
||||
didInit = YES;
|
||||
@@ -1081,6 +1083,11 @@ static NSNumber *sharedYes = nil;
|
||||
|
||||
/* folder type */
|
||||
|
||||
- (NSString *) folderType
|
||||
{
|
||||
return @"Appointment";
|
||||
}
|
||||
|
||||
- (NSString *) outlookFolderClass
|
||||
{
|
||||
return @"IPF.Appointment";
|
||||
|
||||
@@ -200,6 +200,11 @@
|
||||
|
||||
/* folder type */
|
||||
|
||||
- (NSString *) folderType
|
||||
{
|
||||
return @"Contact";
|
||||
}
|
||||
|
||||
- (NSString *)outlookFolderClass {
|
||||
return @"IPF.Contact";
|
||||
}
|
||||
|
||||
@@ -20,13 +20,14 @@
|
||||
*/
|
||||
|
||||
#import <NGObjWeb/SoObject.h>
|
||||
#import <GDLContentStore/GCSFolderManager.h>
|
||||
#import <GDLContentStore/GCSFolder.h>
|
||||
#import <GDLContentStore/GCSFolderType.h>
|
||||
|
||||
#include "SOGoFolder.h"
|
||||
#include "common.h"
|
||||
#include <GDLContentStore/GCSFolderManager.h>
|
||||
#include <GDLContentStore/GCSFolder.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#import "SOGoFolder.h"
|
||||
#import "common.h"
|
||||
#import <unistd.h>
|
||||
#import <stdlib.h>
|
||||
|
||||
#import "SOGoAclsFolder.h"
|
||||
|
||||
@@ -83,6 +84,7 @@
|
||||
|
||||
ASSIGNCOPY(self->ocsPath, _path);
|
||||
}
|
||||
|
||||
- (NSString *)ocsPath {
|
||||
return self->ocsPath;
|
||||
}
|
||||
@@ -109,6 +111,23 @@
|
||||
return folder;
|
||||
}
|
||||
|
||||
- (NSString *) folderType
|
||||
{
|
||||
return @"";
|
||||
}
|
||||
|
||||
- (BOOL) create
|
||||
{
|
||||
NSException *result;
|
||||
|
||||
[GCSFolderType setFolderNamePrefix: @"SOGo_"];
|
||||
|
||||
result = [[self folderManager] createFolderOfType: [self folderType]
|
||||
atPath: ocsPath];
|
||||
|
||||
return (result == nil);
|
||||
}
|
||||
|
||||
- (NSArray *)fetchContentObjectNames {
|
||||
NSArray *fields, *records;
|
||||
|
||||
|
||||
Reference in new issue
Block a user