Beispiel #1
0
 @Override
 public String getStudyName(int studyId) {
   Search search = new Search(StudyDef.class);
   search.addFilterEqual("studyId", studyId);
   search.addField("name");
   return searchUnique(search);
 }
  public Member getMember() {
    Search search = new Search();
    search.addFilterEqual("memberId", "-100");
    Member member = memberService.searchUnique(search);

    return member;
  }
Beispiel #3
0
 @Override
 public String getStudyKey(Integer studyId) {
   Search search = new Search(StudyDef.class);
   search.addFilterEqual("studyId", studyId);
   search.addField("studyKey");
   return searchUnique(search);
 }