Interface ClaimedTaskService
- All Superinterfaces:
DSpaceCRUDService<ClaimedTask>
- All Known Implementing Classes:
ClaimedTaskServiceImpl
Service interface class for the ClaimedTask object.
The implementation of this class is responsible for all business logic calls for the ClaimedTask object and is
autowired by spring
- Author:
- kevinvandevelde at atmire.com
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) find(Context context, XmlWorkflowItem workflowItem) Find all claimed tasks for a given workflow item.find(Context context, XmlWorkflowItem workflowItem, String stepID) find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) findAllInStep(Context context, String stepID) findByEperson(Context context, EPerson ePerson) findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) Find the single task for a given workflow item claimed by a given EPerson.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)
-
Method Details
-
findByWorkflowItem
List<ClaimedTask> findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException - Throws:
SQLException
-
findByWorkflowIdAndEPerson
ClaimedTask findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException Find the single task for a given workflow item claimed by a given EPerson.- Parameters:
context-workflowItem- find task for this item.ePerson- find task claimed by this EPerson.- Returns:
- the single matching task, or null if none.
- Throws:
SQLException- passed through.
-
findByEperson
- Throws:
SQLException
-
find
List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem, String stepID) throws SQLException - Throws:
SQLException
-
find
ClaimedTask find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) throws SQLException - Throws:
SQLException
-
find
List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) throws SQLException - Throws:
SQLException
-
find
Find all claimed tasks for a given workflow item.- Parameters:
context- current DSpace session.workflowItem- the given workflow item.- Returns:
- all claimed tasks for that item.
- Throws:
SQLException- passed through.
-
findAllInStep
- Throws:
SQLException
-
deleteByWorkflowItem
void deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException, AuthorizeException - Throws:
SQLExceptionAuthorizeException
-
findAll
- Throws:
SQLException
-