+2005-03-20 Helge Hess <helge.hess@opengroupware.org>
+
+ * SOGoAppointmentFolder.m: changed to use GDLContentStore (v0.9.32)
+
2005-03-03 Marcus Mueller <znek@mulle-kybernetik.com>
* SOGoGroupAppointmentFolder.m: fixed incorrect creation of a mutable
Parent object: the SOGoUserFolder
Child objects: SOGoAppointmentObject
- The SOGoAppointmentFolder maps to an OCS folder of type 'appointment', that
+ The SOGoAppointmentFolder maps to an GCS folder of type 'appointment', that
is, a content folder containing iCalendar files (and a proper quicktable).
*/
@class NSString, NSArray, NSCalendarDate, NSException;
-@class OCSFolder;
+@class GCSFolder;
@interface SOGoAppointmentFolder : SOGoFolder
{
/* fetching */
- (NSArray *)fetchFields:(NSArray *)_fields
- fromFolder:(OCSFolder *)_folder
+ fromFolder:(GCSFolder *)_folder
from:(NSCalendarDate *)_startDate
to:(NSCalendarDate *)_endDate;
#include <SOGo/SOGoCustomGroupFolder.h>
#include <SOGo/SOGoAppointment.h>
#include <SOGo/AgenorUserManager.h>
-#include <OGoContentStore/OCSFolder.h>
+#include <GDLContentStore/GCSFolder.h>
#include <SaxObjC/SaxObjC.h>
#include <NGiCal/NGiCal.h>
#include <NGExtensions/NGCalendarDateRange.h>
}
- (NSArray *)fetchFields:(NSArray *)_fields
- fromFolder:(OCSFolder *)_folder
+ fromFolder:(GCSFolder *)_folder
from:(NSCalendarDate *)_startDate
to:(NSCalendarDate *)_endDate
{
from:(NSCalendarDate *)_startDate
to:(NSCalendarDate *)_endDate
{
- OCSFolder *folder;
+ GCSFolder *folder;
if ((folder = [self ocsFolder]) == nil) {
[self errorWithFormat:@"(%s): missing folder for fetch!",
# Version file
-SUBMINOR_VERSION:=31
+SUBMINOR_VERSION:=32
-# v0.9.28 requires NGiCal v4.5.47
-# v0.9.26 requires libSOGo v0.9.30
-# v0.9.19 requires NGiCal v4.5.36
-# v0.9.13 requires libSOGo v0.9.26
+# v0.9.32 requires libGDLContentStore v4.5.26
+# v0.9.28 requires libNGiCal v4.5.47
+# v0.9.26 requires libSOGo v0.9.30
+# v0.9.19 requires libNGiCal v4.5.36
+# v0.9.13 requires libSOGo v0.9.26
+2005-03-20 Helge Hess <helge.hess@opengroupware.org>
+
+ * SOGoContactFolder.m: changed to use GDLContentStore (v0.9.9)
+
2005-02-24 Helge Hess <helge.hess@opengroupware.org>
* SOGoContactObject.m: fixed a MacOSX warning (v0.9.8)
Parent object: the SOGoUserFolder
Child objects: SOGoContactObject
- The SOGoContactFolder maps to an OCS folder of type 'contact', that
+ The SOGoContactFolder maps to an GCS folder of type 'contact', that
is, a content folder containing vcal?? files (and a proper quicktable).
*/
@class NSString, NSArray, NSCalendarDate, NSException;
-@class OCSFolder;
+@class GCSFolder;
@interface SOGoContactFolder : SOGoFolder
{
#include "SOGoContactFolder.h"
#include <SOGo/SOGoCustomGroupFolder.h>
#include <SOGo/AgenorUserManager.h>
-#include <OGoContentStore/OCSFolder.h>
+#include <GDLContentStore/GCSFolder.h>
#include <NGiCal/NGiCal.h>
#include "common.h"
#include <unistd.h>
# version file
-SUBMINOR_VERSION:=8
+SUBMINOR_VERSION:=9
-# v0.9.5 requires NGExtensions v4.5.136
+# v0.9.9 requires libGDLContentStore v4.5.26
+# v0.9.5 requires libNGExtensions v4.5.136
+2005-03-20 Helge Hess <helge.hess@opengroupware.org>
+
+ * changed to use GDLContentStore (v0.9.34)
+
2005-03-03 Marcus Mueller <znek@mulle-kybernetik.com>
* SOGoGroupFolder.m: switched logging to NGLogging (v0.9.33)
/* folder */
- (NSString *)ocsPathOfContainer;
-- (OCSFolder *)ocsFolder;
+- (GCSFolder *)ocsFolder;
/* content */
#include "SOGoContentObject.h"
#include "common.h"
-#include <OGoContentStore/OCSFolder.h>
+#include <GDLContentStore/GCSFolder.h>
@implementation SOGoContentObject
return;
if (self->ocsPath)
- [self warnWithFormat:@"OCS path is already set! '%@'", _path];
+ [self warnWithFormat:@"GCS path is already set! '%@'", _path];
ASSIGNCOPY(self->ocsPath, _path);
}
return [[self container] ocsPath];
}
-- (OCSFolder *)ocsFolder {
+- (GCSFolder *)ocsFolder {
if (![[self container] respondsToSelector:@selector(ocsFolder)])
return nil;
/* content */
- (NSString *)contentAsString {
- OCSFolder *folder;
+ GCSFolder *folder;
if (self->content != nil)
return self->content;
- (NSException *)saveContentString:(NSString *)_str {
/* Note: "iCal multifolder saves" are implemented in the apt subclass! */
- OCSFolder *folder;
+ GCSFolder *folder;
NSException *ex;
if ((folder = [self ocsFolder]) == nil) {
- (NSException *)delete {
/* Note: "iCal multifolder saves" are implemented in the apt subclass! */
- OCSFolder *folder;
+ GCSFolder *folder;
NSException *ex;
if ((folder = [self ocsFolder]) == nil) {
/*
- Copyright (C) 2004 SKYRIX Software AG
+ Copyright (C) 2004-2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __SOGo_SOGoFolder_H__
#define __SOGo_SOGoFolder_H__
#include <SOGo/SOGoObject.h>
@class NSString, NSArray, NSDictionary;
-@class OCSFolder;
+@class GCSFolder;
/*
SOGoFolder
- A common superclass for folders stored in OCS. Already deals with all OCS
+ A common superclass for folders stored in GCS. Already deals with all GCS
folder specific things.
*/
@interface SOGoFolder : SOGoObject
{
NSString *ocsPath;
- OCSFolder *ocsFolder;
+ GCSFolder *ocsFolder;
}
/* accessors */
- (void)setOCSPath:(NSString *)_Path;
- (NSString *)ocsPath;
-- (OCSFolder *)ocsFolderForPath:(NSString *)_path;
-- (OCSFolder *)ocsFolder;
+- (GCSFolder *)ocsFolderForPath:(NSString *)_path;
+- (GCSFolder *)ocsFolder;
/* lower level fetches */
#include "SOGoFolder.h"
#include "common.h"
-#include <OGoContentStore/OCSFolderManager.h>
-#include <OGoContentStore/OCSFolder.h>
+#include <GDLContentStore/GCSFolderManager.h>
+#include <GDLContentStore/GCSFolder.h>
@implementation SOGoFolder
return;
if (self->ocsPath)
- [self warnWithFormat:@"OCS path is already set! '%@'", _path];
+ [self warnWithFormat:@"GCS path is already set! '%@'", _path];
ASSIGNCOPY(self->ocsPath, _path);
}
return self->ocsPath;
}
-- (OCSFolderManager *)folderManager {
- return [OCSFolderManager defaultFolderManager];
+- (GCSFolderManager *)folderManager {
+ return [GCSFolderManager defaultFolderManager];
}
-- (OCSFolder *)ocsFolderForPath:(NSString *)_path {
+- (GCSFolder *)ocsFolderForPath:(NSString *)_path {
return [[self folderManager] folderAtPath:_path];
}
-- (OCSFolder *)ocsFolder {
+- (GCSFolder *)ocsFolder {
if (self->ocsFolder != nil)
return [self->ocsFolder isNotNull] ? self->ocsFolder : nil;
*/
@class NSString, NSArray, NSMutableString, NSException;
-@class OCSFolderManager, OCSFolder;
+@class GCSFolderManager, GCSFolder;
@class SOGoUserFolder, SOGoGroupsFolder;
@interface SOGoObject : NSObject
# version file
-SUBMINOR_VERSION:=33
+SUBMINOR_VERSION:=34
+# v0.9.34 requires libGDLContentStore v4.5.26
# v0.9.26 requires libOGoContentStore v0.9.13