Interface OrcidTokenDAO

All Superinterfaces:
GenericDAO<OrcidToken>
All Known Implementing Classes:
OrcidTokenDAOImpl

public interface OrcidTokenDAO extends GenericDAO<OrcidToken>
Database Access Object interface class for the OrcidToken object. The implementation of this class is responsible for all database calls for the OrcidToken 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:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Method Details

    • findByEPerson

      OrcidToken findByEPerson(Context context, EPerson ePerson)
      Find an OrcidToken by ePerson.
      Parameters:
      context - the DSpace context
      ePerson - the ePerson to search for
      Returns:
      the Orcid token, if any
    • findByProfileItem

      OrcidToken findByProfileItem(Context context, Item profileItem)
      Find an OrcidToken by profileItem.
      Parameters:
      context - the DSpace context
      profileItem - the profile item to search for
      Returns:
      the Orcid token, if any