Class WFListHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class WFListHandler extends JcmsFormHandler
This form handler processes wfEditor.jsp form.
Since:
jcms-3.0
Author:
Olivier Dedieu, modified by Deboschère Tony for parallel and express WF
  • Field Details

    • op

      protected boolean op
    • opDeleteWorkflow

      protected boolean opDeleteWorkflow
    • opSave

      protected boolean opSave
    • opRevert

      protected boolean opRevert
    • wfSet

      protected Set<Workflow> wfSet
    • wf

      protected Workflow wf
    • wfId

      protected String wfId
    • newId

      protected String newId
  • Constructor Details

    • WFListHandler

      public WFListHandler()
  • Method Details

    • processAction

      public boolean processAction() throws IOException
      Description copied from class: JcmsFormHandler
      Method to be implemented to check/validate action to be performed and process them.

      Default implementation is to return false. No need to call super method.

      This method may NOT be invoked at all if security validation are not met.

      You must ensure your handler and JSP can work properly without any code invoked in this method.

      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • validateDeleteWorkflow

      public boolean validateDeleteWorkflow() throws IOException
      Throws:
      IOException
    • performDeleteWorkflow

      public boolean performDeleteWorkflow() throws IOException
      Throws:
      IOException
    • validateRevert

      public boolean validateRevert() throws IOException
      Throws:
      IOException
    • performRevert

      public boolean performRevert() throws IOException
      Throws:
      IOException
    • validateSave

      public boolean validateSave() throws IOException
      Throws:
      IOException
    • performSave

      public boolean performSave() throws IOException
      Throws:
      IOException
    • getWorkflowSet

      public Set<Workflow> getWorkflowSet()
    • setOpDeleteWorkflow

      public void setOpDeleteWorkflow(String v)
    • setOpSave

      public void setOpSave(String v)
    • setOpRevert

      public void setOpRevert(String v)
    • setId

      public void setId(String wfId)