@Test public void testGetAllUsers() { assertEquals(0, userAdminService.getList(null,null,null).size()); createUserAndGroup("u1"); createUserAndGroup("u2"); createUserAndGroup("u3"); assertEquals(3, userAdminService.getList(null,null,null).size()); }
@Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }
UserAdminServiceImpl implements UserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); } }
UserAdminServiceImpl implements UserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  }
UserAdminServiceImpl implements UserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  @Override long insert(GSUser user); @Override long update(GSUser user); @Override GSUser get(long id); @Override GSUser get(String name); @Override GSUser getFull(String name); @Override boolean delete(long id); @Override List<GSUser> getFullList(String nameLike, Integer page, Integer entries); @Override List<GSUser> getFullList(String nameLike, Integer page, Integer entries, boolean fetchGroups); @Override List<ShortUser> getList(String nameLike, Integer page, Integer entries); @Override long getCount(String nameLike); void setGsUserDAO(GSUserDAO userDao); }
UserAdminServiceImpl implements UserAdminService { @Override public List<ShortUser> getList(String nameLike, Integer page, Integer entries) { return convertToShortList(getFullList(nameLike, page, entries)); }  @Override long insert(GSUser user); @Override long update(GSUser user); @Override GSUser get(long id); @Override GSUser get(String name); @Override GSUser getFull(String name); @Override boolean delete(long id); @Override List<GSUser> getFullList(String nameLike, Integer page, Integer entries); @Override List<GSUser> getFullList(String nameLike, Integer page, Integer entries, boolean fetchGroups); @Override List<ShortUser> getList(String nameLike, Integer page, Integer entries); @Override long getCount(String nameLike); void setGsUserDAO(GSUserDAO userDao);  }