Class BasicWorkflowItemDAOImpl
- java.lang.Object
-
- org.dspace.core.AbstractHibernateDAO<BasicWorkflowItem>
-
- org.dspace.workflowbasic.dao.impl.BasicWorkflowItemDAOImpl
-
- All Implemented Interfaces:
GenericDAO<BasicWorkflowItem>,BasicWorkflowItemDAO
public class BasicWorkflowItemDAOImpl extends AbstractHibernateDAO<BasicWorkflowItem> implements BasicWorkflowItemDAO
Hibernate implementation of the Database Access Object interface class for the BasicWorkflowItem object. This class is responsible for all database calls for the BasicWorkflowItem object and is autowired by spring This class should never be accessed directly.- Author:
- kevinvandevelde at atmire.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasicWorkflowItemDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcountRows(Context context)List<BasicWorkflowItem>findByCollection(Context context, Collection c)BasicWorkflowItemfindByItem(Context context, Item i)List<BasicWorkflowItem>findByOwner(Context context, EPerson ePerson)List<BasicWorkflowItem>findByPooledTasks(Context context, EPerson ePerson)List<BasicWorkflowItem>findBySubmitter(Context context, EPerson ep)-
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
-
findByItem
public BasicWorkflowItem findByItem(Context context, Item i) throws SQLException
- Specified by:
findByItemin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
findBySubmitter
public List<BasicWorkflowItem> findBySubmitter(Context context, EPerson ep) throws SQLException
- Specified by:
findBySubmitterin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
findByCollection
public List<BasicWorkflowItem> findByCollection(Context context, Collection c) throws SQLException
- Specified by:
findByCollectionin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
findByPooledTasks
public List<BasicWorkflowItem> findByPooledTasks(Context context, EPerson ePerson) throws SQLException
- Specified by:
findByPooledTasksin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
findByOwner
public List<BasicWorkflowItem> findByOwner(Context context, EPerson ePerson) throws SQLException
- Specified by:
findByOwnerin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
countRows
public int countRows(Context context) throws SQLException
- Specified by:
countRowsin interfaceBasicWorkflowItemDAO- Throws:
SQLException
-
-