Interface ClaimedTaskService
-
- All Superinterfaces:
DSpaceCRUDService<ClaimedTask>
- All Known Implementing Classes:
ClaimedTaskServiceImpl
public interface ClaimedTaskService extends DSpaceCRUDService<ClaimedTask>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem)ClaimedTaskfind(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID)List<ClaimedTask>find(Context context, XmlWorkflowItem workflowItem)Find all claimed tasks for a given workflow item.List<ClaimedTask>find(Context context, XmlWorkflowItem workflowItem, String stepID)List<ClaimedTask>find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID)List<ClaimedTask>findAll(Context context)List<ClaimedTask>findAllInStep(Context context, String stepID)List<ClaimedTask>findByEperson(Context context, EPerson ePerson)ClaimedTaskfindByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)Find the single task for a given workflow item claimed by a given EPerson.List<ClaimedTask>findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)
-
-
-
Method Detail
-
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
List<ClaimedTask> findByEperson(Context context, EPerson ePerson) throws SQLException
- 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
List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem) throws SQLException
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
List<ClaimedTask> findAllInStep(Context context, String stepID) throws SQLException
- Throws:
SQLException
-
deleteByWorkflowItem
void deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
findAll
List<ClaimedTask> findAll(Context context) throws SQLException
- Throws:
SQLException
-
-