@Test public void testGetAnnotationsByStudy() { service.getAnnotationsByStudy(study); verify(dao).readByStudy(study); }
@Override public Collection<Annotation> getAnnotationsByStudy(Study study) { return getAnnotationDAO().readByStudy(study); }
DAOBasedAnnotationService extends AbstractShortnameResolver implements AnnotationService { @Override public Collection<Annotation> getAnnotationsByStudy(Study study) { return getAnnotationDAO().readByStudy(study); } }
DAOBasedAnnotationService extends AbstractShortnameResolver implements AnnotationService { @Override public Collection<Annotation> getAnnotationsByStudy(Study study) { return getAnnotationDAO().readByStudy(study); }  }
DAOBasedAnnotationService extends AbstractShortnameResolver implements AnnotationService { @Override public Collection<Annotation> getAnnotationsByStudy(Study study) { return getAnnotationDAO().readByStudy(study); }  AnnotationDAO getAnnotationDAO(); void setAnnotationDAO(AnnotationDAO annotationDAO); TransactionalAnnotationFactory getAnnotationFactory(); void setAnnotationFactory(TransactionalAnnotationFactory annotationFactory); @Override Collection<Annotation> getAnnotations(); @Override Collection<Annotation> getAnnotations(int limit, int start); @Override Collection<Annotation> getAnnotationsByStudy(Study study); @Override Collection<Annotation> getAnnotationsByBiologicalEntity(BiologicalEntity biologicalEntity); @Override Collection<Annotation> getAnnotationsByProperty(Property property); @Override Collection<Annotation> getAnnotationsBySemanticTag(String shortname); @Override Collection<Annotation> getAnnotationsBySemanticTag(URI semanticTagURI); @Override Annotation getAnnotation(String shortname); @Override Annotation getAnnotation(URI uri); @Override Annotation saveAnnotation(Annotation annotation); @Override Collection<Annotation> saveAnnotations(Collection<Annotation> annotations); @Override Collection<Annotation> updatePreviousAnnotations(Collection<Annotation> annotationsToUpdate,
                                                            AnnotationUpdate update); }
DAOBasedAnnotationService extends AbstractShortnameResolver implements AnnotationService { @Override public Collection<Annotation> getAnnotationsByStudy(Study study) { return getAnnotationDAO().readByStudy(study); }  AnnotationDAO getAnnotationDAO(); void setAnnotationDAO(AnnotationDAO annotationDAO); TransactionalAnnotationFactory getAnnotationFactory(); void setAnnotationFactory(TransactionalAnnotationFactory annotationFactory); @Override Collection<Annotation> getAnnotations(); @Override Collection<Annotation> getAnnotations(int limit, int start); @Override Collection<Annotation> getAnnotationsByStudy(Study study); @Override Collection<Annotation> getAnnotationsByBiologicalEntity(BiologicalEntity biologicalEntity); @Override Collection<Annotation> getAnnotationsByProperty(Property property); @Override Collection<Annotation> getAnnotationsBySemanticTag(String shortname); @Override Collection<Annotation> getAnnotationsBySemanticTag(URI semanticTagURI); @Override Annotation getAnnotation(String shortname); @Override Annotation getAnnotation(URI uri); @Override Annotation saveAnnotation(Annotation annotation); @Override Collection<Annotation> saveAnnotations(Collection<Annotation> annotations); @Override Collection<Annotation> updatePreviousAnnotations(Collection<Annotation> annotationsToUpdate,
                                                            AnnotationUpdate update);  }