Package org.dspace.handle.dao
Interface HandleDAO
- All Superinterfaces:
GenericDAO<Handle>
- All Known Implementing Classes:
HandleDAOImpl
Database Access Object interface class for the Handle object.
The implementation of this class is responsible for all database calls for the Handle 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
Modifier and TypeMethodDescriptionlongcountHandlesByPrefix(Context context, String prefix) intfindByHandle(Context context, String handle) findByPrefix(Context context, String prefix) getHandlesByDSpaceObject(Context context, DSpaceObject dso) getNextHandleSuffix(Context context) intupdateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix)
-
Method Details
-
getNextHandleSuffix
- Throws:
SQLException
-
getHandlesByDSpaceObject
- Throws:
SQLException
-
findByHandle
- Throws:
SQLException
-
findByPrefix
- Throws:
SQLException
-
countHandlesByPrefix
- Throws:
SQLException
-
updateHandlesWithNewPrefix
int updateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix) throws SQLException - Throws:
SQLException
-
countRows
- Throws:
SQLException
-