Package org.dspace.app.requestitem.dao
Interface RequestItemDAO
- All Superinterfaces:
GenericDAO<RequestItem>
- All Known Implementing Classes:
RequestItemDAOImpl
Database Access Object interface class for the RequestItem object.
The implementation of this class is responsible for all database calls for
the RequestItem 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 TypeMethodDescriptionfindByItem(Context context, Item item) findByToken(Context context, String token) Fetch a request named by its unique token (passed in emails).
-
Method Details
-
findByToken
Fetch a request named by its unique token (passed in emails).- Parameters:
context- the current DSpace context.token- uniquely identifies the request.- Returns:
- the found request (or
null?) - Throws:
SQLException- passed through.
-
findByItem
- Throws:
SQLException
-