[Yanel-commits] rev 28823 - public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend

michi at wyona.com michi at wyona.com
Tue Nov 13 16:23:23 CET 2007


Author: michi
Date: 2007-11-13 16:23:23 +0100 (Tue, 13 Nov 2007)
New Revision: 28823

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
Log:
search sketched out

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java	2007-11-13 15:11:52 UTC (rev 28822)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java	2007-11-13 15:23:23 UTC (rev 28823)
@@ -92,6 +92,12 @@
 
         // TODO: Remove hard-coded ...
         if (qs != null) {
+/*
+            Nodes[] nodes = getRealm().getRepository().search(qs);
+            Nodes[] nodes = getRealm().getRepository().searchProperty("firstname", firstname);
+            Nodes[] nodes = getRealm().getRepository().searchProperty("lastname", lastname);
+*/
+
             sb.append("<provider source-name=\"" + "Wyona-FOAF" + "\" source-domain=\"" + "http://foaf.wyona.org" + "\" numberOfResults=\"" + "1" + "\">");
             sb.append("<result number=\"" + "1" + "\" source-name=\"" + "Wyona-FOAF" + "\">");
             sb.append("<title><![CDATA[" + "Foo Bar" + "]]></title>");



More information about the Yanel-commits mailing list