From 4f912e86d3aef259c593ad314678d3a8542417bc Mon Sep 17 00:00:00 2001 From: helge Date: Thu, 17 Jun 2004 09:40:37 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@47 d1b88da0-ebda-0310-925b-ed51d893ca5b --- dbd/DSoTable.m | 17 +++++++++++++++++ dbd/README | 1 + 2 files changed, 18 insertions(+) diff --git a/dbd/DSoTable.m b/dbd/DSoTable.m index 99fabeb8..88a1821c 100644 --- a/dbd/DSoTable.m +++ b/dbd/DSoTable.m @@ -46,4 +46,21 @@ return [self->database adaptorInContext:_ctx]; } +/* name lookup */ + +- (id)lookupName:(NSString *)_key inContext:(id)_ctx acquire:(BOOL)_flag { + id obj; + + /* + Note: acquire:NO - otherwise acquired stuff will override the stuff + below! + */ + if ((obj = [super lookupName:_key inContext:_ctx acquire:NO])) + return obj; + + // here we need to differentiate between entry-ids and field names + // TODO + return nil; +} + @end /* DSoTable */ diff --git a/dbd/README b/dbd/README index 63ac658e..39aa65f8 100644 --- a/dbd/README +++ b/dbd/README @@ -12,6 +12,7 @@ Intention: SOPE Hierarchy - /DBHOST/Databases/MYDB/MYTABLE/MYFIELD - /DBHOST/Users/MYUSER +- /DBHOST/Databases/MYDB/MYTABLE/MYFIELD=MYPKEY Class Hierarchy DSoObject -- 2.39.5