java.lang.Object
org.dspace.xmlworkflow.state.actions.Action
org.dspace.xmlworkflow.state.actions.processingaction.ProcessingAction
Direct Known Subclasses:
AcceptEditRejectAction, FinalEditAction, ReviewAction, ScoreEvaluationAction, ScoreReviewAction, SelectReviewerAction, SingleUserReviewAction

public abstract class ProcessingAction extends Action
Represent an action that can be offered to a workflow step's user(s).
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 Details

  • Constructor Details

    • ProcessingAction

      public ProcessingAction()
  • Method Details

    • isAuthorized

      public boolean isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) throws SQLException
      Description copied from class: Action
      Is this client authorized to act on this item?
      Specified by:
      isAuthorized in class Action
      Parameters:
      context - current DSpace session.
      request - current client request.
      wfi - the workflow item in question.
      Returns:
      true if authorized.
      Throws:
      SQLException - passed through.
    • processRejectPage

      public ActionResult processRejectPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request) throws SQLException, AuthorizeException, IOException
      Process result when option {@link this#SUBMIT_REJECT} is selected. - Sets the reason and workflow step responsible on item in dc.description.provenance - Send workflow back to the submission If reason is not given => error
      Throws:
      SQLException
      AuthorizeException
      IOException
    • isAdvanced

      protected boolean isAdvanced()
      Description copied from class: Action
      Returns true if this Action has advanced options, false if it doesn't
      Overrides:
      isAdvanced in class Action
      Returns:
      true if there are advanced options, false otherwise