/**\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
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
* @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