Class InProgressUserServiceImpl
- java.lang.Object
-
- org.dspace.xmlworkflow.storedcomponents.InProgressUserServiceImpl
-
- All Implemented Interfaces:
DSpaceCRUDService<InProgressUser>,InProgressUserService
public class InProgressUserServiceImpl extends Object implements InProgressUserService
Service implementation for the InProgressUser object. This class is responsible for all business logic calls for the InProgressUser 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 InProgressUserDAOinProgressUserDAO
-
Constructor Summary
Constructors Modifier Constructor Description protectedInProgressUserServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InProgressUsercreate(Context context)voiddelete(Context context, InProgressUser inProgressUser)InProgressUserfind(Context context, int id)List<InProgressUser>findByEperson(Context context, EPerson ePerson)List<InProgressUser>findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)InProgressUserfindByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)intgetNumberOfFinishedUsers(Context context, XmlWorkflowItem workflowItem)intgetNumberOfInProgressUsers(Context context, XmlWorkflowItem workflowItem)voidupdate(Context context, List<InProgressUser> inProgressUsers)voidupdate(Context context, InProgressUser inProgressUser)
-
-
-
Field Detail
-
inProgressUserDAO
@Autowired(required=true) protected InProgressUserDAO inProgressUserDAO
-
-
Method Detail
-
findByWorkflowItemAndEPerson
public InProgressUser findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException
- Specified by:
findByWorkflowItemAndEPersonin interfaceInProgressUserService- Throws:
SQLException
-
findByEperson
public List<InProgressUser> findByEperson(Context context, EPerson ePerson) throws SQLException
- Specified by:
findByEpersonin interfaceInProgressUserService- Throws:
SQLException
-
findByWorkflowItem
public List<InProgressUser> findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Specified by:
findByWorkflowItemin interfaceInProgressUserService- Throws:
SQLException
-
getNumberOfInProgressUsers
public int getNumberOfInProgressUsers(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Specified by:
getNumberOfInProgressUsersin interfaceInProgressUserService- Throws:
SQLException
-
getNumberOfFinishedUsers
public int getNumberOfFinishedUsers(Context context, XmlWorkflowItem workflowItem) throws SQLException
- Specified by:
getNumberOfFinishedUsersin interfaceInProgressUserService- Throws:
SQLException
-
create
public InProgressUser create(Context context) throws SQLException, AuthorizeException
- Specified by:
createin interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-
find
public InProgressUser find(Context context, int id) throws SQLException
- Specified by:
findin interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLException
-
update
public void update(Context context, InProgressUser inProgressUser) throws SQLException, AuthorizeException
- Specified by:
updatein interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-
update
public void update(Context context, List<InProgressUser> inProgressUsers) throws SQLException, AuthorizeException
- Specified by:
updatein interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-
delete
public void delete(Context context, InProgressUser inProgressUser) throws SQLException, AuthorizeException
- Specified by:
deletein interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-
-