Class InProgressUserServiceImpl
java.lang.Object
org.dspace.xmlworkflow.storedcomponents.InProgressUserServiceImpl
- All Implemented Interfaces:
DSpaceCRUDService<InProgressUser>,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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(Context context, InProgressUser inProgressUser) findByEperson(Context context, EPerson ePerson) findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) intgetNumberOfFinishedUsers(Context context, XmlWorkflowItem workflowItem) intgetNumberOfInProgressUsers(Context context, XmlWorkflowItem workflowItem) voidupdate(Context context, List<InProgressUser> inProgressUsers) Persist a collection of model objects.voidupdate(Context context, InProgressUser inProgressUser) Persist a model object.
-
Field Details
-
inProgressUserDAO
-
-
Constructor Details
-
InProgressUserServiceImpl
protected InProgressUserServiceImpl()
-
-
Method Details
-
findByWorkflowItemAndEPerson
public InProgressUser findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) throws SQLException - Specified by:
findByWorkflowItemAndEPersonin interfaceInProgressUserService- Throws:
SQLException
-
findByEperson
- 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
- Specified by:
createin interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-
find
- Specified by:
findin interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLException
-
update
public void update(Context context, InProgressUser inProgressUser) throws SQLException, AuthorizeException Description copied from interface:DSpaceCRUDServicePersist a model object.- Specified by:
updatein interfaceDSpaceCRUDService<InProgressUser>inProgressUser- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
update
public void update(Context context, List<InProgressUser> inProgressUsers) throws SQLException, AuthorizeException Description copied from interface:DSpaceCRUDServicePersist a collection of model objects.- Specified by:
updatein interfaceDSpaceCRUDService<InProgressUser>inProgressUsers- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
delete
public void delete(Context context, InProgressUser inProgressUser) throws SQLException, AuthorizeException - Specified by:
deletein interfaceDSpaceCRUDService<InProgressUser>- Throws:
SQLExceptionAuthorizeException
-