From: helge Date: Thu, 17 Jun 2004 09:40:37 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/trunk@47 d1b88da0-ebda-0310-925b-ed51d8... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f912e86d3aef259c593ad314678d3a8542417bc;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/trunk@47 d1b88da0-ebda-0310-925b-ed51d893ca5b --- 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