From 7234b749cc098dddcc04c94cd6b4a58dd7df6b38 Mon Sep 17 00:00:00 2001 From: helge Date: Sun, 15 Aug 2004 11:52:25 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@217 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/SoObjects/SOGo/ChangeLog | 5 +++++ SOGo/SoObjects/SOGo/SOGoObject.h | 4 ++++ SOGo/SoObjects/SOGo/SOGoObject.m | 6 ++++++ SOGo/SoObjects/SOGo/SOGoUserFolder.h | 4 ++++ SOGo/SoObjects/SOGo/SOGoUserFolder.m | 6 ++++++ SOGo/SoObjects/SOGo/Version | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/SOGo/SoObjects/SOGo/ChangeLog b/SOGo/SoObjects/SOGo/ChangeLog index 09965357..cc0d66ea 100644 --- a/SOGo/SoObjects/SOGo/ChangeLog +++ b/SOGo/SoObjects/SOGo/ChangeLog @@ -1,3 +1,8 @@ +2004-08-15 Helge Hess + + * SOGoObject.[hm], SOGoUserFolder.[hm]: implemented SOPE + -ownerInContext: (v0.9.8) + 2004-08-14 Helge Hess * v0.9.7 diff --git a/SOGo/SoObjects/SOGo/SOGoObject.h b/SOGo/SoObjects/SOGo/SOGoObject.h index cd3171b7..de2680a4 100644 --- a/SOGo/SoObjects/SOGo/SOGoObject.h +++ b/SOGo/SoObjects/SOGo/SOGoObject.h @@ -42,6 +42,10 @@ - (NSString *)nameInContainer; - (id)container; +/* ownership */ + +- (NSString *)ownerInContext:(id)_ctx; + /* looking up shared objects */ - (SOGoUserFolder *)lookupUserFolder; diff --git a/SOGo/SoObjects/SOGo/SOGoObject.m b/SOGo/SoObjects/SOGo/SOGoObject.m index 3d70a8e6..fc8fa491 100644 --- a/SOGo/SoObjects/SOGo/SOGoObject.m +++ b/SOGo/SoObjects/SOGo/SOGoObject.m @@ -58,6 +58,12 @@ return self->container; } +/* ownership */ + +- (NSString *)ownerInContext:(id)_ctx { + return [[self container] ownerInContext:_ctx]; +} + /* looking up shared objects */ - (SOGoUserFolder *)lookupUserFolder { diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.h b/SOGo/SoObjects/SOGo/SOGoUserFolder.h index 0198b999..5c540532 100644 --- a/SOGo/SoObjects/SOGo/SOGoUserFolder.h +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.h @@ -47,6 +47,10 @@ - (NSString *)login; +/* ownership */ + +- (NSString *)ownerInContext:(id)_ctx; + /* pathes */ - (NSString *)ocsUserPath; diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.m b/SOGo/SoObjects/SOGo/SOGoUserFolder.m index 2c135af4..32955e94 100644 --- a/SOGo/SoObjects/SOGo/SOGoUserFolder.m +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.m @@ -35,6 +35,12 @@ return [self nameInContainer]; } +/* ownership */ + +- (NSString *)ownerInContext:(id)_ctx { + return [self login]; +} + /* looking up shared objects */ - (SOGoUserFolder *)lookupUserFolder { diff --git a/SOGo/SoObjects/SOGo/Version b/SOGo/SoObjects/SOGo/Version index 070d8811..702b2674 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:=7 +SUBMINOR_VERSION:=8 -- 2.39.5