diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java @ 20:715aa11d138b

fixes in permission handling: admin and delete default to creator.
author casties
date Fri, 07 Sep 2012 18:09:49 +0200
parents 794077e6288c
children b1fb0d117877
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java	Thu Sep 06 19:02:59 2012 +0200
+++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotations.java	Fri Sep 07 18:09:49 2012 +0200
@@ -73,7 +73,7 @@
     }
 
     /**
-     * POST with JSON content-type.
+     * POST with JSON content-type. Creates a new Annotation.
      * 
      * @return
      */
@@ -127,7 +127,7 @@
     }
 
     /**
-     * PUT with JSON content-type.
+     * PUT with JSON content-type. Modifies an Annotation.
      * 
      * @param entity
      * @return
@@ -190,7 +190,7 @@
     }
 
     /**
-     * DELETE with JSON content-type.
+     * DELETE with JSON content-type. Deletes an Annotation.
      * 
      * @param entity
      * @return