org.dspace.xmlworkflow.state.actions.processingaction
Class SingleUserReviewAction

java.lang.Object
  extended by org.dspace.xmlworkflow.state.actions.Action
      extended by org.dspace.xmlworkflow.state.actions.processingaction.ProcessingAction
          extended by org.dspace.xmlworkflow.state.actions.processingaction.SingleUserReviewAction

public class SingleUserReviewAction
extends ProcessingAction

Processing class of an action where a single user has been assigned and he can either accept/reject the workflow item or reject the task

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
static int MAIN_PAGE
           
static int OUTCOME_REJECT
           
static int REJECT_PAGE
           
 
Constructor Summary
SingleUserReviewAction()
           
 
Method Summary
 void activate(Context c, XmlWorkflowItem wfItem)
           
 ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)
           
 ActionResult processMainPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)
           
 ActionResult processRejectPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)
           
 
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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_PAGE

public static final int MAIN_PAGE
See Also:
Constant Field Values

REJECT_PAGE

public static final int REJECT_PAGE
See Also:
Constant Field Values

OUTCOME_REJECT

public static final int OUTCOME_REJECT
See Also:
Constant Field Values
Constructor Detail

SingleUserReviewAction

public SingleUserReviewAction()
Method Detail

activate

public void activate(Context c,
                     XmlWorkflowItem wfItem)
Specified by:
activate in class Action

execute

public ActionResult execute(Context c,
                            XmlWorkflowItem wfi,
                            Step step,
                            javax.servlet.http.HttpServletRequest request)
                     throws SQLException,
                            AuthorizeException,
                            IOException
Specified by:
execute in class Action
Throws:
SQLException
AuthorizeException
IOException

processMainPage

public ActionResult processMainPage(Context c,
                                    XmlWorkflowItem wfi,
                                    Step step,
                                    javax.servlet.http.HttpServletRequest request)
                             throws SQLException,
                                    AuthorizeException
Throws:
SQLException
AuthorizeException

processRejectPage

public ActionResult processRejectPage(Context c,
                                      XmlWorkflowItem wfi,
                                      Step step,
                                      javax.servlet.http.HttpServletRequest request)
                               throws SQLException,
                                      AuthorizeException,
                                      IOException
Throws:
SQLException
AuthorizeException
IOException


Copyright © 2011 DuraSpace. All Rights Reserved.