diff src/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java @ 16:667d98fd28bd

working on search and update.
author casties
date Thu, 22 Mar 2012 10:54:56 +0100
parents 6c7c4140630d
children b0ef5c860464
line wrap: on
line diff
--- a/src/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java	Wed Mar 21 18:12:45 2012 +0100
+++ b/src/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java	Thu Mar 22 10:54:56 2012 +0100
@@ -65,7 +65,7 @@
         JSONArray ja;
         try {
 
-            List<Convert.Annotation> annots = searcher.search(uri, user, limit, offset);
+            List<Convert.Annotation> annots = searcher.searchByUriUser(uri, user, limit, offset);
 
             ja = new JSONArray();
             for (Convert.Annotation annot : annots) {
@@ -141,7 +141,7 @@
                 + "<td><a href=\"%s\">%s</a></td><td>%s</td><td>%s</td><td><a href=\"%s\">%s</a></td><td><a href=\"%s\">%s</a></td></div>";
         try {
 
-            List<Convert.Annotation> annots = searcher.search(uri, user, limit, offset);
+            List<Convert.Annotation> annots = searcher.searchByUriUser(uri, user, limit, offset);
 
             for (Convert.Annotation annot : annots) {