Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java @ 32:0731c4549065
UI for editing groups and persons works now. (still no authorisation!)
author | casties |
---|---|
date | Tue, 25 Sep 2012 21:59:21 +0200 |
parents | 58357a4b86de |
children | 9f8c9611848a |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java Tue Sep 25 16:08:11 2012 +0200 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorSearch.java Tue Sep 25 21:59:21 2012 +0200 @@ -56,7 +56,7 @@ // do search logger.debug(String.format("searching for uri=%s user=%s", uri, user)); AnnotationStore store = getAnnotationStore(); - List<Annotation> annots = store.searchByUriUser(uri, user, limit, offset); + List<Annotation> annots = store.searchAnnotationByUriUser(uri, user, limit, offset); for (Annotation annot : annots) { // check permission if (!annot.isActionAllowed("read", authUser, store)) continue;