Interface XmlWorkflowItemDAO
- All Superinterfaces:
GenericDAO<XmlWorkflowItem>
- All Known Implementing Classes:
XmlWorkflowItemDAOImpl
Database Access Object interface class for the XmlWorkflowItem object.
The implementation of this class is responsible for all database calls for the XmlWorkflowItem 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
Modifier and TypeMethodDescriptionintintcountAllInCollection(Context context, Collection collection) intcountBySubmitter(Context context, EPerson ep) Count the number of workflow items from a specific submitterfindAllInCollection(Context context, Integer offset, Integer limit, Collection collection) Find all the workflow items in a specific collection using the pagination parameters (offset, limit)findByCollection(Context context, Collection collection) findByItem(Context context, Item item) findBySubmitter(Context context, EPerson ep) findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit) Return all the workflow items from a specific submitter respecting the pagination parameters
-
Method Details
-
findAllInCollection
List<XmlWorkflowItem> findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) throws SQLException Find all the workflow items in a specific collection using the pagination parameters (offset, limit)- Parameters:
context- dspace contextoffset- the first record to returnlimit- the max number of records to returncollection- the collection where the workflowitem has been submitted- Returns:
- all the workflow items respecting the parameters conditions
- Throws:
SQLException
-
countAll
- Throws:
SQLException
-
countAllInCollection
- Throws:
SQLException
-
findBySubmitter
- Throws:
SQLException
-
findByCollection
- Throws:
SQLException
-
findByItem
- Throws:
SQLException
-
findBySubmitter
List<XmlWorkflowItem> findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit) throws SQLException Return all the workflow items from a specific submitter respecting the pagination parameters- Parameters:
context- The relevant DSpace Context.ep- the eperson that has submitted the itemoffset- the first record to returnlimit- the max number of records to return- Returns:
- Throws:
SQLException
-
countBySubmitter
Count the number of workflow items from a specific submitter- Parameters:
context- The relevant DSpace Context.ep- the eperson that has submitted the item- Returns:
- Throws:
SQLException
-