Exemplo n.º 1
0
  @Override
  public SearchResultWrapper<Test> getAvailableTests() {
    TestSearchTO search = new TestSearchTO();
    search.setGroupFilter(GroupFilter.MY_GROUPS);
    List<String> groups = userService.getLoggedUserGroupNames();

    return testDAO.searchTests(search, groups);
  }
Exemplo n.º 2
0
 @Override
 public SearchResultWrapper<Test> searchTest(TestSearchTO search) {
   return testDAO.searchTests(search, userService.getLoggedUserGroupNames());
 }