Class EditWFHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditWFHandler extends JcmsFormHandler
  • Field Details

    • wf

      protected Workflow wf
    • wfSet

      protected Set<Workflow> wfSet
    • labelMapMap

      protected Map<String,String> labelMapMap
    • type

      protected String type
    • copyOf

      protected Workflow copyOf
    • opSave

      protected boolean opSave
    • opCreate

      protected boolean opCreate
    • opUpdate

      protected boolean opUpdate
    • opDelete

      protected boolean opDelete
  • Constructor Details

    • EditWFHandler

      public EditWFHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class JcmsFormHandler
    • 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
    • validateCreate

      public boolean validateCreate()
    • performCreate

      public boolean performCreate()
    • validateUpdate

      public boolean validateUpdate()
    • performUpdate

      public boolean performUpdate()
    • validateCommonCreateUpdate

      public boolean validateCommonCreateUpdate()
    • validateDelete

      public boolean validateDelete() throws IOException
      Throws:
      IOException
    • performDelete

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

      public Set<Workflow> getWorkflowSet()
    • getModalTitle

      public String getModalTitle()
    • getModalButtonLabel

      public String getModalButtonLabel()
    • showCopyOf

      public boolean showCopyOf()
    • showLanguageChooser

      public boolean showLanguageChooser()
    • getLabelSettings

      public ControlSettings getLabelSettings()
    • getTypeSettings

      public ControlSettings getTypeSettings()
    • getCopyOfSettings

      public ControlSettings getCopyOfSettings()
    • getIdSettings

      public ControlSettings getIdSettings()
    • setOpSave

      public void setOpSave(String v)
    • setOpDelete

      public void setOpDelete(String v)
    • setId

      public void setId(String wfId)
    • getAvailableLabelMap

      public Map getAvailableLabelMap()
    • setLabel

      public void setLabel(String[] v)
    • getAvailableType

      public String getAvailableType()
    • setType

      public void setType(String type)
    • setCopyOf

      public void setCopyOf(String v)