Interface XmlWorkflowItemService
- All Superinterfaces:
InProgressSubmissionService<XmlWorkflowItem>,WorkflowItemService<XmlWorkflowItem>
- All Known Implementing Classes:
XmlWorkflowItemServiceImpl
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
Modifier and TypeMethodDescriptionintreturn 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 submitterreturn all workflowitems for a certain pagefindAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) return all workflowitems for a certain page with a certain collectionfindBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize) Return all the workflow items from a specific submitter respecting the pagination parametersMethods inherited from interface org.dspace.content.service.InProgressSubmissionService
deleteWrapper, move, updateMethods inherited from interface org.dspace.workflow.WorkflowItemService
create, delete, deleteByCollection, find, findAll, findByCollection, findByItem, findBySubmitter
-
Method Details
-
findAll
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
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
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
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
-