import org.hibernate.Transaction;
import org.splat.service.SearchService;
import org.splat.service.SearchServiceImpl;
+import org.splat.service.StudyService;
import org.splat.simer.Action;
import org.splat.dal.dao.som.Database;
import org.splat.dal.bo.som.Study;
private String indices;
private SearchService _searchService;
private ImportedStudy _importedStudy;
+ private StudyService _studyService;
private static final long serialVersionUID = 4194268823457749655L;
for (int i=0; i<ridlist.length; i++) {
int index = Integer.valueOf(ridlist[i].trim());
- Study study = Database.selectStudy(index);
+ Study study = getStudyService().selectStudy(index);
getSearchService().indexStudy(study);
}
filter.put("owner", "all"); // Just in case of 1st study search
public void setImportedStudy(ImportedStudy importedStudy) {
_importedStudy = importedStudy;
}
+
+ /**
+ * Get the studyService.
+ *
+ * @return the studyService
+ */
+ public StudyService getStudyService() {
+ return _studyService;
+ }
+
+ /**
+ * Set the studyService.
+ *
+ * @param studyService
+ * the studyService to set
+ */
+ public void setStudyService(StudyService studyService) {
+ _studyService = studyService;
+ }
}
\ No newline at end of file