예제 #1
0
 @Override
 public String getStudyName(int studyId) {
   Search search = new Search(StudyDef.class);
   search.addFilterEqual("studyId", studyId);
   search.addField("name");
   return searchUnique(search);
 }
예제 #2
0
 @Override
 public String getStudyKey(Integer studyId) {
   Search search = new Search(StudyDef.class);
   search.addFilterEqual("studyId", studyId);
   search.addField("studyKey");
   return searchUnique(search);
 }