コード例 #1
0
 //    @Override
 public Capture updateCapture(
     final String sessionId, final String captureId, final Capture capture) {
   if (captureId != null) {
     Annotation annotation = annotatorDao.getAnnotationById(Long.valueOf(captureId));
     annotation.setText(capture.getText());
     annotatorDao.updateAnnotation(annotation);
   }
   return capture;
 }