mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-29 10:17:35 +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:
@@ -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