]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@47 d1b88da0-ebda-0310-925b-ed51d8...
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 17 Jun 2004 09:40:37 +0000 (09:40 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 17 Jun 2004 09:40:37 +0000 (09:40 +0000)
dbd/DSoTable.m
dbd/README

index 99fabeb8112a30b330dcc47d20c3a8cc579a221d..88a1821c7d9dd6b472451e349227f168558be2d7 100644 (file)
   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 */
index 63ac658e9e3082b365b7c96e1af87b4623a3fcf8..39aa65f88105530919eb2082c1acfd3683d7e120 100644 (file)
@@ -12,6 +12,7 @@ Intention:
 SOPE Hierarchy
 - /DBHOST/Databases/MYDB/MYTABLE/MYFIELD
 - /DBHOST/Users/MYUSER
+- /DBHOST/Databases/MYDB/MYTABLE/MYFIELD=MYPKEY
 
 Class Hierarchy
   DSoObject