From 7b0657b3c153e622be39e4ed5493f1ce1ac180ad Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 16 Aug 2004 12:10:50 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@255 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/SoObjects/SOGo/ChangeLog | 5 ++++- SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.h | 7 +++++++ SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.m | 9 ++++++++- SOGo/SoObjects/SOGo/Version | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/SOGo/SoObjects/SOGo/ChangeLog b/SOGo/SoObjects/SOGo/ChangeLog index f205a43a..3e4b6f0f 100644 --- a/SOGo/SoObjects/SOGo/ChangeLog +++ b/SOGo/SoObjects/SOGo/ChangeLog @@ -1,5 +1,8 @@ 2004-08-16 Helge Hess - + + * SOGoCustomGroupFolder.m: added -initWithUIDs:inContainer: for using + the groups folder for internal group fetches (v0.9.11) + * SOGoContentObject.m: updated multi-save things (which belong into the SOGoAppointmentObject class), implement -sleep to release the content (v0.9.10) diff --git a/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.h b/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.h index 56d68840..220f3fcb 100644 --- a/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.h +++ b/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.h @@ -29,6 +29,11 @@ SOGoCustomGroupFolder same parent/child like SOGoGroupFolder + Note: parent folder can be different if instantiated for internal use. + + Note: you can use this folder for internal handling of groups! Eg aggregate + Calendar fetches. + This is a specific group folder for 'custom' groups. Group members are currently encoded as the folder name in the URL like _custom_znek,helge @@ -41,6 +46,8 @@ NSArray *uids; } +- (id)initWithUIDs:(NSArray *)_uids inContainer:(id)_container; + /* accessors */ - (NSArray *)uids; diff --git a/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.m b/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.m index 2a8a8e9e..1a79e25f 100644 --- a/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.m +++ b/SOGo/SoObjects/SOGo/SOGoCustomGroupFolder.m @@ -27,6 +27,13 @@ static NSString *SOGoUIDSeparator = @","; +- (id)initWithUIDs:(NSArray *)_uids inContainer:(id)_container { + if ((self = [self initWithName:nil inContainer:_container])) { + self->uids = [_uids copy]; + } + return self; +} + - (void)dealloc { [self->uids release]; [super dealloc]; @@ -93,7 +100,7 @@ static NSString *SOGoUIDSeparator = @","; if (ms != nil) return ms; } -#warning TODO: localize 'members' +#warning TODO: localize 'members' (UI component task?) return [NSString stringWithFormat:@"Members: %d", count]; } diff --git a/SOGo/SoObjects/SOGo/Version b/SOGo/SoObjects/SOGo/Version index 177ef7b7..3183fe84 100644 --- a/SOGo/SoObjects/SOGo/Version +++ b/SOGo/SoObjects/SOGo/Version @@ -1,3 +1,3 @@ # $Id: Version 170 2004-08-11 10:45:40Z helge $ -SUBMINOR_VERSION:=10 +SUBMINOR_VERSION:=11 -- 2.39.5