Package org.dspace.workflowbasic.dao
Interface BasicWorkflowItemDAO
-
- All Superinterfaces:
GenericDAO<BasicWorkflowItem>
- All Known Implementing Classes:
BasicWorkflowItemDAOImpl
public interface BasicWorkflowItemDAO extends GenericDAO<BasicWorkflowItem>
Database Access Object interface class for the BasicWorkflowItem object. The implementation of this class is responsible for all database calls for the BasicWorkflowItem 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:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract 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 interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByItem
BasicWorkflowItem findByItem(Context context, Item i) throws SQLException
- Throws:
SQLException
-
findBySubmitter
List<BasicWorkflowItem> findBySubmitter(Context context, EPerson ep) throws SQLException
- Throws:
SQLException
-
findByCollection
List<BasicWorkflowItem> findByCollection(Context context, Collection c) throws SQLException
- Throws:
SQLException
-
findByPooledTasks
List<BasicWorkflowItem> findByPooledTasks(Context context, EPerson ePerson) throws SQLException
- Throws:
SQLException
-
findByOwner
List<BasicWorkflowItem> findByOwner(Context context, EPerson ePerson) throws SQLException
- Throws:
SQLException
-
countRows
int countRows(Context context) throws SQLException
- Throws:
SQLException
-
-