Interface PoolTaskService
-
- All Superinterfaces:
DSpaceCRUDService<PoolTask>
- All Known Implementing Classes:
PoolTaskServiceImpl
public interface PoolTaskService extends DSpaceCRUDService<PoolTask>
Service interface class for the PoolTask object. The implementation of this class is responsible for all business logic calls for the PoolTask object and is autowired by spring- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByEperson(Context context, EPerson ePerson)voiddeleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)List<PoolTask>find(Context context, XmlWorkflowItem workflowItem)List<PoolTask>findAll(Context context)List<PoolTask>findByEperson(Context context, EPerson ePerson)List<PoolTask>findByEPerson(Context context, EPerson ePerson)List<PoolTask>findByGroup(Context context, Group group)This method will return a list of PoolTask for the given groupPoolTaskfindByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)
-
-
-
Method Detail
-
findAll
List<PoolTask> findAll(Context context) throws SQLException
- Throws:
SQLException
-
findByEperson
List<PoolTask> findByEperson(Context context, EPerson ePerson) throws SQLException, AuthorizeException, IOException
-
find
List<PoolTask> find(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Throws:
SQLException
-
findByWorkflowIdAndEPerson
PoolTask findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException, AuthorizeException, IOException
-
deleteByWorkflowItem
void deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
deleteByEperson
void deleteByEperson(Context context, EPerson ePerson) throws SQLException, AuthorizeException, IOException
-
findByEPerson
List<PoolTask> findByEPerson(Context context, EPerson ePerson) throws SQLException
- Throws:
SQLException
-
findByGroup
List<PoolTask> findByGroup(Context context, Group group) throws SQLException
This method will return a list of PoolTask for the given group- Parameters:
context- The relevant DSpace contextgroup- The Group to be searched on- Returns:
- The list of PoolTask objects
- Throws:
SQLException- If something goes wrong
-
-