Class RequestItemDAOImpl

  • All Implemented Interfaces:
    RequestItemDAO, GenericDAO<RequestItem>

    public class RequestItemDAOImpl
    extends AbstractHibernateDAO<RequestItem>
    implements RequestItemDAO
    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 Detail

      • RequestItemDAOImpl

        protected RequestItemDAOImpl()
    • Method Detail

      • findByToken

        public RequestItem findByToken​(Context context,
                                       String token)
                                throws SQLException
        Description copied from interface: RequestItemDAO
        Fetch a request named by its unique token (passed in emails).
        Specified by:
        findByToken in interface RequestItemDAO
        Parameters:
        context - the current DSpace context.
        token - uniquely identifies the request.
        Returns:
        the found request (or null?)
        Throws:
        SQLException - passed through.