Class SelectReviewerAction
- java.lang.Object
-
- org.dspace.xmlworkflow.state.actions.Action
-
- org.dspace.xmlworkflow.state.actions.processingaction.ProcessingAction
-
- org.dspace.xmlworkflow.state.actions.processingaction.SelectReviewerAction
-
public class SelectReviewerAction extends ProcessingAction
Processing class for an action where an assigned user can assign another user to review the item- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
-
Field Summary
Fields Modifier and Type Field Description static intRESULTS_PER_PAGEstatic intSEARCH_RESULTS_PAGE-
Fields inherited from class org.dspace.xmlworkflow.state.actions.processingaction.ProcessingAction
claimedTaskService, itemService, SUBMIT_EDIT_METADATA
-
-
Constructor Summary
Constructors Constructor Description SelectReviewerAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(Context c, XmlWorkflowItem wf)ActionResultexecute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)List<String>getOptions()Returns a list of options that the user can select at this action which results in the next step in the workflowRolegetRole()voidsetRole(Role role)-
Methods inherited from class org.dspace.xmlworkflow.state.actions.processingaction.ProcessingAction
isAuthorized
-
Methods inherited from class org.dspace.xmlworkflow.state.actions.Action
addErrorField, alertUsersOnActivation, getErrorFields, getParent, getProvenanceStartId, isOptionInParam, setParent
-
-
-
-
Field Detail
-
SEARCH_RESULTS_PAGE
public static final int SEARCH_RESULTS_PAGE
- See Also:
- Constant Field Values
-
RESULTS_PER_PAGE
public static final int RESULTS_PER_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
public void activate(Context c, XmlWorkflowItem wf)
-
execute
public ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request) throws SQLException, AuthorizeException
- Specified by:
executein classAction- Throws:
SQLExceptionAuthorizeException
-
getOptions
public List<String> getOptions()
Description copied from class:ActionReturns a list of options that the user can select at this action which results in the next step in the workflow- Specified by:
getOptionsin classAction- Returns:
- A list of options of this action, resulting in the next step of the workflow
-
getRole
public Role getRole()
-
setRole
public void setRole(Role role)
-
-