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

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.ReviewAction

public class ReviewAction
extends ProcessingAction

Processing class of an accept/reject action

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 REJECT_PAGE
           
 
Constructor Summary
ReviewAction()
           
 
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
Constructor Detail

ReviewAction

public ReviewAction()
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 © 2012 DuraSpace. All Rights Reserved.