public interface WorkflowRequirementsService
| Modifier and Type | Field and Description |
|---|---|
static String |
WORKFLOW_SCHEMA |
| Modifier and Type | Method and Description |
|---|---|
void |
addClaimedUser(Context context,
XmlWorkflowItem wfi,
Step step,
EPerson user)
Adds a claimed user in the metadata
if enough users have claimed this task (claimed or finished) to meet the required number
the pooled tasks will be deleted
|
void |
addFinishedUser(Context context,
XmlWorkflowItem wfi,
EPerson user)
Adds a finished user in the metadata
this method will also remove the user from the inprogress metadata
|
void |
clearInProgressUsers(Context context,
XmlWorkflowItem wfi) |
void |
removeClaimedUser(Context context,
XmlWorkflowItem wfi,
EPerson user,
String stepID) |
static final String WORKFLOW_SCHEMA
void addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user) throws SQLException, AuthorizeException, IOException
context - the dspace contextwfi - the workflow itemstep - the step for which we are acceptinguser - the current userSQLException - ...AuthorizeException - ...IOException - ...void removeClaimedUser(Context context, XmlWorkflowItem wfi, EPerson user, String stepID) throws SQLException, IOException, WorkflowConfigurationException, AuthorizeException
void addFinishedUser(Context context, XmlWorkflowItem wfi, EPerson user) throws AuthorizeException, SQLException
context - the dspace contextwfi - the workflow itemuser - the current userAuthorizeException - ...SQLException - ...void clearInProgressUsers(Context context, XmlWorkflowItem wfi) throws AuthorizeException, SQLException
AuthorizeExceptionSQLExceptionCopyright © 2017 DuraSpace. All rights reserved.