Class WFEditorHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class WFEditorHandler 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

    • tab

      protected WFEditorHandler.Tab tab
    • op

      protected boolean op
    • opDeleteWorkflow

      protected boolean opDeleteWorkflow
    • opSave

      protected boolean opSave
    • opRevert

      protected boolean opRevert
    • opUpdateMatrix

      protected boolean opUpdateMatrix
    • opUpdateMatrix2

      protected boolean opUpdateMatrix2
    • wfSet

      protected Set<Workflow> wfSet
    • wf

      protected Workflow wf
    • wfId

      protected String wfId
    • transitRole

      protected WFRole transitRole
  • Constructor Details

    • WFEditorHandler

      public WFEditorHandler()
  • Method Details

    • isStatesTab

      public boolean isStatesTab()
    • isRolesTab

      public boolean isRolesTab()
    • isTransitionsTab

      public boolean isTransitionsTab()
    • isInfoTab

      public boolean isInfoTab()
    • showTransitionsTab

      public boolean showTransitionsTab()
    • 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
    • validateUpdateMatrix

      public boolean validateUpdateMatrix() throws IOException
      Throws:
      IOException
    • performUpdateMatrix

      public boolean performUpdateMatrix() throws IOException
      Throws:
      IOException
    • getInvolvedRoles

      public Set getInvolvedRoles()
    • 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()
    • setOpSave

      public void setOpSave(String v)
    • setOpRevert

      public void setOpRevert(String v)
    • setTab

      public void setTab(String v)
    • setId

      public void setId(String wfId)
    • getWorkflow

      public Workflow getWorkflow()
    • setOpDeleteWorkflow

      public void setOpDeleteWorkflow(String v)
    • setOpUpdateMatrix

      public void setOpUpdateMatrix(String v)
    • setTransitRole

      public void setTransitRole(String v)
    • getAvailableTransitRole

      public WFRole getAvailableTransitRole()