Class ClaimedTaskServiceImpl
- java.lang.Object
-
- org.dspace.xmlworkflow.storedcomponents.ClaimedTaskServiceImpl
-
- All Implemented Interfaces:
DSpaceCRUDService<ClaimedTask>,ClaimedTaskService
public class ClaimedTaskServiceImpl extends Object implements ClaimedTaskService
Service implementation for the ClaimedTask object. This class is responsible for all business logic calls for the ClaimedTask object and is autowired by spring. This class should never be accessed directly.- Author:
- kevinvandevelde at atmire.com
-
-
Field Summary
Fields Modifier and Type Field Description protected ClaimedTaskDAOclaimedTaskDAO
-
Constructor Summary
Constructors Modifier Constructor Description protectedClaimedTaskServiceImpl()
-
Method Summary
-
-
-
Field Detail
-
claimedTaskDAO
@Autowired(required=true) protected ClaimedTaskDAO claimedTaskDAO
-
-
Method Detail
-
create
public ClaimedTask create(Context context) throws SQLException, AuthorizeException
- Specified by:
createin interfaceDSpaceCRUDService<ClaimedTask>- Throws:
SQLExceptionAuthorizeException
-
find
public ClaimedTask find(Context context, int id) throws SQLException
- Specified by:
findin interfaceDSpaceCRUDService<ClaimedTask>- Throws:
SQLException
-
findAll
public List<ClaimedTask> findAll(Context context) throws SQLException
- Specified by:
findAllin interfaceClaimedTaskService- Throws:
SQLException
-
update
public void update(Context context, ClaimedTask claimedTask) throws SQLException, AuthorizeException
- Specified by:
updatein interfaceDSpaceCRUDService<ClaimedTask>- Throws:
SQLExceptionAuthorizeException
-
update
public void update(Context context, List<ClaimedTask> claimedTasks) throws SQLException, AuthorizeException
- Specified by:
updatein interfaceDSpaceCRUDService<ClaimedTask>- Throws:
SQLExceptionAuthorizeException
-
delete
public void delete(Context context, ClaimedTask claimedTask) throws SQLException, AuthorizeException
- Specified by:
deletein interfaceDSpaceCRUDService<ClaimedTask>- Throws:
SQLExceptionAuthorizeException
-
findByWorkflowItem
public List<ClaimedTask> findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Specified by:
findByWorkflowItemin interfaceClaimedTaskService- Throws:
SQLException
-
findByWorkflowIdAndEPerson
public ClaimedTask findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException
- Specified by:
findByWorkflowIdAndEPersonin interfaceClaimedTaskService- Throws:
SQLException
-
findByEperson
public List<ClaimedTask> findByEperson(Context context, EPerson ePerson) throws SQLException
- Specified by:
findByEpersonin interfaceClaimedTaskService- Throws:
SQLException
-
find
public List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem, String stepID) throws SQLException
- Specified by:
findin interfaceClaimedTaskService- Throws:
SQLException
-
find
public ClaimedTask find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) throws SQLException
- Specified by:
findin interfaceClaimedTaskService- Throws:
SQLException
-
find
public List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) throws SQLException
- Specified by:
findin interfaceClaimedTaskService- Throws:
SQLException
-
find
public List<ClaimedTask> find(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Specified by:
findin interfaceClaimedTaskService- Throws:
SQLException
-
findAllInStep
public List<ClaimedTask> findAllInStep(Context context, String stepID) throws SQLException
- Specified by:
findAllInStepin interfaceClaimedTaskService- Throws:
SQLException
-
deleteByWorkflowItem
public void deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException, AuthorizeException
- Specified by:
deleteByWorkflowItemin interfaceClaimedTaskService- Throws:
SQLExceptionAuthorizeException
-
-