Class OrcidTokenDAOImpl

java.lang.Object
org.dspace.core.AbstractHibernateDAO<OrcidToken>
org.dspace.orcid.dao.impl.OrcidTokenDAOImpl
All Implemented Interfaces:
GenericDAO<OrcidToken>, OrcidTokenDAO

public class OrcidTokenDAOImpl extends AbstractHibernateDAO<OrcidToken> implements OrcidTokenDAO
Implementation of OrcidTokenDAO.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Constructor Details

    • OrcidTokenDAOImpl

      public OrcidTokenDAOImpl()
  • Method Details

    • findByEPerson

      public OrcidToken findByEPerson(Context context, EPerson ePerson)
      Description copied from interface: OrcidTokenDAO
      Find an OrcidToken by ePerson.
      Specified by:
      findByEPerson in interface OrcidTokenDAO
      Parameters:
      context - the DSpace context
      ePerson - the ePerson to search for
      Returns:
      the Orcid token, if any
    • findByProfileItem

      public OrcidToken findByProfileItem(Context context, Item profileItem)
      Description copied from interface: OrcidTokenDAO
      Find an OrcidToken by profileItem.
      Specified by:
      findByProfileItem in interface OrcidTokenDAO
      Parameters:
      context - the DSpace context
      profileItem - the profile item to search for
      Returns:
      the Orcid token, if any