Interface XmlWorkflowItemDAO
-
- All Superinterfaces:
GenericDAO<XmlWorkflowItem>
- All Known Implementing Classes:
XmlWorkflowItemDAOImpl
public interface XmlWorkflowItemDAO extends GenericDAO<XmlWorkflowItem>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountAll(Context context)intcountAllInCollection(Context context, Collection collection)intcountBySubmitter(Context context, EPerson ep)Count the number of workflow items from a specific submitterList<XmlWorkflowItem>findAllInCollection(Context context, Integer offset, Integer limit, Collection collection)Find all the workflow items in a specific collection using the pagination parameters (offset, limit)List<XmlWorkflowItem>findByCollection(Context context, Collection collection)XmlWorkflowItemfindByItem(Context context, Item item)List<XmlWorkflowItem>findBySubmitter(Context context, EPerson ep)List<XmlWorkflowItem>findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit)Return all the workflow items from a specific submitter respecting the pagination parameters-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
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
int countAll(Context context) throws SQLException
- Throws:
SQLException
-
countAllInCollection
int countAllInCollection(Context context, Collection collection) throws SQLException
- Throws:
SQLException
-
findBySubmitter
List<XmlWorkflowItem> findBySubmitter(Context context, EPerson ep) throws SQLException
- Throws:
SQLException
-
findByCollection
List<XmlWorkflowItem> findByCollection(Context context, Collection collection) throws SQLException
- Throws:
SQLException
-
findByItem
XmlWorkflowItem findByItem(Context context, Item item) throws SQLException
- 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
int countBySubmitter(Context context, EPerson ep) throws SQLException
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
-
-