Interface RequestItemDAO

  • All Superinterfaces:
    GenericDAO<RequestItem>
    All Known Implementing Classes:
    RequestItemDAOImpl

    public interface RequestItemDAO
    extends GenericDAO<RequestItem>
    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 Detail

      • findByToken

        RequestItem findByToken​(Context context,
                                String token)
                         throws SQLException
        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.