Interface XmlWorkflowItemService
-
- All Superinterfaces:
InProgressSubmissionService<XmlWorkflowItem>,WorkflowItemService<XmlWorkflowItem>
- All Known Implementing Classes:
XmlWorkflowItemServiceImpl
public interface XmlWorkflowItemService extends WorkflowItemService<XmlWorkflowItem>
Service interface class for the XmlWorkflowItem object. The implementation of this class is responsible for all business logic calls for the XmlWorkflowItem object and is autowired by spring- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountAll(Context context)return how many workflow items appear in the databaseintcountAllInCollection(Context context, Collection collection)return how many workflow items that appear in the collectionintcountBySubmitter(Context context, EPerson ep)Count the number of workflow items from a specific submitterList<XmlWorkflowItem>findAll(Context context, Integer page, Integer pagesize)return all workflowitems for a certain pageList<XmlWorkflowItem>findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection)return all workflowitems for a certain page with a certain collectionList<XmlWorkflowItem>findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize)Return all the workflow items from a specific submitter respecting the pagination parameters-
Methods inherited from interface org.dspace.content.service.InProgressSubmissionService
deleteWrapper, move, update
-
Methods inherited from interface org.dspace.workflow.WorkflowItemService
create, delete, deleteByCollection, find, findAll, findByCollection, findByItem, findBySubmitter
-
-
-
-
Method Detail
-
findAll
List<XmlWorkflowItem> findAll(Context context, Integer page, Integer pagesize) throws SQLException
return all workflowitems for a certain page- Parameters:
context- The relevant DSpace Context.page- paging: page numberpagesize- paging: items per page- Returns:
- WorkflowItem list of all the workflow items in system
- Throws:
SQLException- An exception that provides information on a database access error or other errors.
-
findAllInCollection
List<XmlWorkflowItem> findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) throws SQLException
return all workflowitems for a certain page with a certain collection- Parameters:
context- The relevant DSpace Context.page- paging: page numberpagesize- paging: items per pagecollection- restrict to this collection- Returns:
- WorkflowItem list of all the workflow items in system
- Throws:
SQLException- An exception that provides information on a database access error or other errors.
-
countAll
int countAll(Context context) throws SQLException
return how many workflow items appear in the database- Parameters:
context- The relevant DSpace Context.- Returns:
- the number of workflow items
- Throws:
SQLException- An exception that provides information on a database access error or other errors.
-
countAllInCollection
int countAllInCollection(Context context, Collection collection) throws SQLException
return how many workflow items that appear in the collection- Parameters:
context- The relevant DSpace Context.collection- restrict to this collection- Returns:
- the number of workflow items
- Throws:
SQLException- An exception that provides information on a database access error or other errors.
-
findBySubmitter
List<XmlWorkflowItem> findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize) 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 itempageNumber- paging: page numberpageSize- paging: items per page- 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
-
-