mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
moving queries to DAOs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user