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) |
PoolTask |
findIndexableObject(Context context,
Integer id)
Generic find for when the precise type of an IndexableObject is not known
|
int |
getSupportsIndexableObjectTypeConstant()
Returns the Constants which this service supports
|
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 int getSupportsIndexableObjectTypeConstant()
IndexableObjectServicegetSupportsIndexableObjectTypeConstant in interface IndexableObjectService<PoolTask,Integer>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 PoolTask findIndexableObject(Context context, Integer id) throws SQLException
IndexableObjectServicefindIndexableObject in interface IndexableObjectService<PoolTask,Integer>context - - the contextid - - id within table of type'd indexable objectsSQLException - only upon failure accessing the database.public 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 © 2019 DuraSpace. All rights reserved.