cleanup
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / IAnnotationService.java
index 4e37c38efa9d14b7a3ce44361b1aaf0f6415314c..dada038fcd80e0c220b0f19ab5c81791ed14d892 100644 (file)
@@ -1,8 +1,8 @@
 /**\r
  * Copyright (C) 2007 EDIT\r
- * European Distributed Institute of Taxonomy \r
+ * European Distributed Institute of Taxonomy\r
  * http://www.e-taxonomy.eu\r
- * \r
+ *\r
  * The contents of this file are subject to the Mozilla Public License Version 1.1\r
  * See LICENSE.TXT at the top of this package for the full license terms.\r
  */\r
@@ -22,15 +22,15 @@ import eu.etaxonomy.cdm.persistence.query.OrderHint;
 public interface IAnnotationService extends IAnnotatableService<Annotation> {\r
        /**\r
         * return a count of the number of annotations made by this person, optionally filtered by the status of those annotations\r
-        * \r
+        *\r
         * @param commentator the person who created those annotations\r
         * @param status the status of those annotations (can be null)\r
         * @return an integer\r
         */\r
-       public int count(Person commentator, MarkerType status);\r
-    \r
+       public long count(Person commentator, MarkerType status);\r
+\r
        /**\r
-        * \r
+        *\r
         * @param commentator the person who created those annotations\r
         * @param status the status of those annotations (can be null)\r
         * @param pageSize The maximum number of annotations returned (can be null for all annotations)\r
@@ -40,18 +40,18 @@ public interface IAnnotationService extends IAnnotatableService<Annotation> {
         * @return a paged list of Annotation instances\r
         */\r
     public Pager<Annotation> list(Person commentator, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths);\r
-    \r
+\r
     /**\r
         * return a count of the number of annotations created by this user, optionally filtered by the status of those annotations\r
-        * \r
+        *\r
         * @param creator the user who created those annotations\r
         * @param status the status of those annotations (can be null)\r
         * @return an integer\r
         */\r
-       public int count(User creator, MarkerType status);\r
-    \r
+       public long count(User creator, MarkerType status);\r
+\r
        /**\r
-        * \r
+        *\r
         * @param creator the user who created those annotations\r
         * @param status the status of those annotations (can be null)\r
         * @param pageSize The maximum number of annotations returned (can be null for all annotations)\r