Package org.dspace.eperson.dao
Interface EPersonDAO
-
- All Superinterfaces:
DSpaceObjectDAO<EPerson>,DSpaceObjectLegacySupportDAO<EPerson>,GenericDAO<EPerson>
- All Known Implementing Classes:
EPersonDAOImpl
public interface EPersonDAO extends DSpaceObjectDAO<EPerson>, DSpaceObjectLegacySupportDAO<EPerson>
Database Access Object interface class for the EPerson object. The implementation of this class is responsible for all database calls for the EPerson object and is autowired by spring This class should only be accessed from a single service and should never be exposed outside of the API- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountRows(Context context)List<EPerson>findAll(Context context, MetadataField metadataFieldSort, String sortColumn, int pageSize, int offset)List<EPerson>findAllSubscribers(Context context)EPersonfindByEmail(Context context, String email)List<EPerson>findByGroups(Context context, Set<Group> groups)EPersonfindByNetid(Context context, String netid)List<EPerson>findNotActiveSince(Context context, Date date)List<EPerson>findWithPasswordWithoutDigestAlgorithm(Context context)List<EPerson>search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit)intsearchResultCount(Context context, String query, List<MetadataField> queryFields)-
Methods inherited from interface org.dspace.content.dao.DSpaceObjectLegacySupportDAO
findByLegacyId
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByEmail
EPerson findByEmail(Context context, String email) throws SQLException
- Throws:
SQLException
-
findByNetid
EPerson findByNetid(Context context, String netid) throws SQLException
- Throws:
SQLException
-
search
List<EPerson> search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit) throws SQLException
- Throws:
SQLException
-
searchResultCount
int searchResultCount(Context context, String query, List<MetadataField> queryFields) throws SQLException
- Throws:
SQLException
-
findByGroups
List<EPerson> findByGroups(Context context, Set<Group> groups) throws SQLException
- Throws:
SQLException
-
findWithPasswordWithoutDigestAlgorithm
List<EPerson> findWithPasswordWithoutDigestAlgorithm(Context context) throws SQLException
- Throws:
SQLException
-
findNotActiveSince
List<EPerson> findNotActiveSince(Context context, Date date) throws SQLException
- Throws:
SQLException
-
findAll
List<EPerson> findAll(Context context, MetadataField metadataFieldSort, String sortColumn, int pageSize, int offset) throws SQLException
- Throws:
SQLException
-
findAllSubscribers
List<EPerson> findAllSubscribers(Context context) throws SQLException
- Throws:
SQLException
-
countRows
int countRows(Context context) throws SQLException
- Throws:
SQLException
-
-