mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 19:43:10 +00:00
moving queries to DAOs
This commit is contained in:
@@ -428,4 +428,9 @@ public class BundleServiceImpl extends DSpaceObjectServiceImpl<Bundle> implement
|
||||
public Bundle findByLegacyId(Context context, int id) throws SQLException {
|
||||
return bundleDAO.findByLegacyId(context, id, Bundle.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int countTotal(Context context) throws SQLException {
|
||||
return bundleDAO.countRows(context);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user