Package org.dspace.orcid.dao
Interface OrcidTokenDAO
- All Superinterfaces:
GenericDAO<OrcidToken>
- All Known Implementing Classes:
OrcidTokenDAOImpl
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 Summary
Modifier and TypeMethodDescriptionfindByEPerson(Context context, EPerson ePerson) Find an OrcidToken by ePerson.findByProfileItem(Context context, Item profileItem) Find an OrcidToken by profileItem.
-
Method Details
-
findByEPerson
Find an OrcidToken by ePerson.- Parameters:
context- the DSpace contextePerson- the ePerson to search for- Returns:
- the Orcid token, if any
-
findByProfileItem
Find an OrcidToken by profileItem.- Parameters:
context- the DSpace contextprofileItem- the profile item to search for- Returns:
- the Orcid token, if any
-