Class RequestItemDAOImpl
java.lang.Object
org.dspace.core.AbstractHibernateDAO<RequestItem>
org.dspace.app.requestitem.dao.impl.RequestItemDAOImpl
- All Implemented Interfaces:
RequestItemDAO,GenericDAO<RequestItem>
Hibernate implementation of the Database Access Object interface class for the RequestItem object.
This class is responsible for all database calls for the RequestItem object and is autowired by Spring.
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Constructor Summary
Constructors -
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).Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Constructor Details
-
RequestItemDAOImpl
protected RequestItemDAOImpl()
-
-
Method Details
-
findByToken
Description copied from interface:RequestItemDAOFetch a request named by its unique token (passed in emails).- Specified by:
findByTokenin interfaceRequestItemDAO- Parameters:
context- the current DSpace context.token- uniquely identifies the request.- Returns:
- the found request (or
null?) - Throws:
SQLException- passed through.
-
findByItem
- Specified by:
findByItemin interfaceRequestItemDAO- Throws:
SQLException
-