mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
moving queries to DAOs
This commit is contained in:
@@ -367,6 +367,11 @@ public class EPersonServiceImpl extends DSpaceObjectServiceImpl<EPerson> impleme
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<EPerson> findEPeopleWithSubscription(Context context) throws SQLException {
|
||||
return ePersonDAO.findAllSubscribers(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLastModified(Context context, EPerson dso) throws SQLException {
|
||||
//Not used
|
||||
@@ -393,4 +398,9 @@ public class EPersonServiceImpl extends DSpaceObjectServiceImpl<EPerson> impleme
|
||||
public List<EPerson> findNotActiveSince(Context context, Date date) throws SQLException {
|
||||
return ePersonDAO.findNotActiveSince(context, date);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int countTotal(Context context) throws SQLException {
|
||||
return ePersonDAO.countRows(context);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user