public class FinalEditAction extends ProcessingAction
Processing class of an action that allows users to accept/reject a workflow 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)
  • Constructor Details

    • FinalEditAction

      public FinalEditAction()
  • Method Details

    • activate

      public void activate(Context c, XmlWorkflowItem wf)
      Description copied from class: Action
      Called when a workflow item becomes eligible for this Action.
      Specified by:
      activate in class Action
      Parameters:
      c - current DSpace session.
      wf - the eligible item.
    • execute

      public ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) throws SQLException, AuthorizeException
      Description copied from class: Action
      Called when the action is to be performed.
      Specified by:
      execute in class Action
      Parameters:
      c - current DSpace session.
      wfi - the item on which the action is to be performed.
      step - the workflow step in which the action is performed.
      request - the current client request.
      Returns:
      the result of performing the action.
      Throws:
      SQLException - passed through.
      AuthorizeException - passed through.
    • processMainPage

      public ActionResult processMainPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) throws SQLException, AuthorizeException
      Throws:
      SQLException
      AuthorizeException
    • getOptions

      public List<String> getOptions()
      Description copied from class: Action
      Returns a list of options that the user can select at this action which results in the next step in the workflow
      Specified by:
      getOptions in class Action
      Returns:
      A list of options of this action, resulting in the next step of the workflow