Changeset 4207 for DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/dao/AnnotationDao.java
- Timestamp:
- 12/19/13 14:36:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/dao/AnnotationDao.java
r4146 r4207 114 114 public Permission getPermission(Number annotationID, Number userID); 115 115 116 public List<Number> getAnnotationIDsForUserWithPermission(Number userID, String permissionString);116 public List<Number> getAnnotationIDsForUserWithPermission(Number userID, String[] permissionStrings); 117 117 118 118 … … 164 164 /////// UPDATERS ////////////////// 165 165 166 int updateAnnotationBodyText(Number annotationID, String text); 167 168 /** 169 * 170 * @param annotationID 171 * @param annotationBody 172 * @return # of updated rows in "annotation" table after updating the annotation's body text with "newBodyText". Should return 1. 173 */ 174 public int updateAnnotationBody(Number annotationID, AnnotationBody annotationBody); 166 167 public int updateAnnotationBody(Number annotationID, String text, String mimeType, Boolean isXml); 175 168 176 169 … … 229 222 */ 230 223 public int deleteAnnotationPrincipalPermissions(Number annotationID); 224 225 /* 226 * HELPERS 227 */ 228 229 public String[] retrieveBodyComponents(AnnotationBody annotationBody); 231 230 232 231 }
Note: See TracChangeset
for help on using the changeset viewer.