public class PoolTaskServiceImpl extends Object implements PoolTaskService
| Modifier and Type | Field and Description |
|---|---|
protected GroupService |
groupService |
protected InProgressUserService |
inProgressUserService |
protected PoolTaskDAO |
poolTaskDAO |
| Modifier | Constructor and Description |
|---|---|
protected |
PoolTaskServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
PoolTask |
create(Context context) |
void |
delete(Context context,
PoolTask poolTask) |
void |
deleteByWorkflowItem(Context context,
XmlWorkflowItem xmlWorkflowItem) |
PoolTask |
find(Context context,
int id) |
List<PoolTask> |
find(Context context,
XmlWorkflowItem workflowItem) |
List<PoolTask> |
findByEperson(Context context,
EPerson ePerson) |
List<PoolTask> |
findByEPerson(Context context,
EPerson ePerson) |
protected List<PoolTask> |
findByGroups(Context context,
EPerson ePerson,
List<Group> groups) |
PoolTask |
findByWorkflowIdAndEPerson(Context context,
XmlWorkflowItem workflowItem,
EPerson ePerson) |
void |
update(Context context,
List<PoolTask> poolTasks) |
void |
update(Context context,
PoolTask poolTask) |
@Autowired(required=true) protected PoolTaskDAO poolTaskDAO
@Autowired(required=true) protected GroupService groupService
@Autowired(required=true) protected InProgressUserService inProgressUserService
public List<PoolTask> findByEperson(Context context, EPerson ePerson) throws SQLException, AuthorizeException, IOException
findByEperson in interface PoolTaskServiceSQLExceptionAuthorizeExceptionIOExceptionprotected List<PoolTask> findByGroups(Context context, EPerson ePerson, List<Group> groups) throws SQLException
SQLExceptionpublic List<PoolTask> find(Context context, XmlWorkflowItem workflowItem) throws SQLException
find in interface PoolTaskServiceSQLExceptionpublic PoolTask findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException, AuthorizeException, IOException
findByWorkflowIdAndEPerson in interface PoolTaskServiceSQLExceptionAuthorizeExceptionIOExceptionpublic void deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) throws SQLException, AuthorizeException
deleteByWorkflowItem in interface PoolTaskServiceSQLExceptionAuthorizeExceptionpublic List<PoolTask> findByEPerson(Context context, EPerson ePerson) throws SQLException
findByEPerson in interface PoolTaskServiceSQLExceptionpublic PoolTask create(Context context) throws SQLException, AuthorizeException
create in interface DSpaceCRUDService<PoolTask>SQLExceptionAuthorizeExceptionpublic PoolTask find(Context context, int id) throws SQLException
find in interface DSpaceCRUDService<PoolTask>SQLExceptionpublic void update(Context context, PoolTask poolTask) throws SQLException, AuthorizeException
update in interface DSpaceCRUDService<PoolTask>SQLExceptionAuthorizeExceptionpublic void update(Context context, List<PoolTask> poolTasks) throws SQLException, AuthorizeException
update in interface DSpaceCRUDService<PoolTask>SQLExceptionAuthorizeExceptionpublic void delete(Context context, PoolTask poolTask) throws SQLException, AuthorizeException
delete in interface DSpaceCRUDService<PoolTask>SQLExceptionAuthorizeExceptionCopyright © 2017 DuraSpace. All rights reserved.