moving queries to DAOs

This commit is contained in:
Ondřej Košarko
2016-01-25 13:08:39 +01:00
parent b87cf2f723
commit ec804f81e2
47 changed files with 467 additions and 209 deletions

View File

@@ -670,4 +670,9 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
public Community findByLegacyId(Context context, int id) throws SQLException {
return communityDAO.findByLegacyId(context, id, Community.class);
}
@Override
public int countTotal(Context context) throws SQLException {
return communityDAO.countRows(context);
}
}