Package org.dspace.orcid.dao
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrcidTokenfindByEPerson(Context context, EPerson ePerson)Find an OrcidToken by ePerson.OrcidTokenfindByProfileItem(Context context, Item profileItem)Find an OrcidToken by profileItem.-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByEPerson
OrcidToken findByEPerson(Context context, EPerson ePerson)
Find an OrcidToken by ePerson.- Parameters:
context- the DSpace contextePerson- 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 contextprofileItem- the profile item to search for- Returns:
- the Orcid token, if any
-
-