Package org.dspace.identifier.dao.impl
Class DOIDAOImpl
- java.lang.Object
-
- org.dspace.core.AbstractHibernateDAO<DOI>
-
- org.dspace.identifier.dao.impl.DOIDAOImpl
-
- All Implemented Interfaces:
GenericDAO<DOI>,DOIDAO
public class DOIDAOImpl extends AbstractHibernateDAO<DOI> implements DOIDAO
Hibernate implementation of the Database Access Object interface class for the DOI object. This class is responsible for all database calls for the DOI object and is autowired by spring This class should never be accessed directly.- Author:
- kevinvandevelde at atmire.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDOIDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DOIfindByDoi(Context context, String doi)List<DOI>findByStatus(Context context, List<Integer> statuses)DOIfindDOIByDSpaceObject(Context context, DSpaceObject dso)DOIfindDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude)List<DOI>findSimilarNotInState(Context context, String doi, List<Integer> excludedStatuses, boolean dsoNotNull)-
Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByDoi
public DOI findByDoi(Context context, String doi) throws SQLException
- Specified by:
findByDoiin interfaceDOIDAO- Throws:
SQLException
-
findDOIByDSpaceObject
public DOI findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude) throws SQLException
- Specified by:
findDOIByDSpaceObjectin interfaceDOIDAO- Throws:
SQLException
-
findByStatus
public List<DOI> findByStatus(Context context, List<Integer> statuses) throws SQLException
- Specified by:
findByStatusin interfaceDOIDAO- Throws:
SQLException
-
findSimilarNotInState
public List<DOI> findSimilarNotInState(Context context, String doi, List<Integer> excludedStatuses, boolean dsoNotNull) throws SQLException
- Specified by:
findSimilarNotInStatein interfaceDOIDAO- Throws:
SQLException
-
findDOIByDSpaceObject
public DOI findDOIByDSpaceObject(Context context, DSpaceObject dso) throws SQLException
- Specified by:
findDOIByDSpaceObjectin interfaceDOIDAO- Throws:
SQLException
-
-