Class EditWFStateHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditWFStateHandler extends JcmsFormHandler
  • Field Details

    • op

      protected boolean op
    • opSave

      protected boolean opSave
    • opCreate

      protected boolean opCreate
    • opUpdate

      protected boolean opUpdate
    • opDelete

      protected boolean opDelete
    • wfId

      protected String wfId
    • wf

      protected Workflow wf
    • state

      protected WFState state
    • labelMap

      protected Map<String,String> labelMap
    • descriptionMap

      protected Map<String,String> descriptionMap
    • color

      protected String color
    • initState

      protected boolean initState
    • pstatus

      protected int pstatus
    • newPstatus

      protected int newPstatus
    • isSpecialState

      protected boolean isSpecialState
    • inAuthor

      protected boolean inAuthor
    • inWorkers

      protected boolean inWorkers
    • inAdmins

      protected boolean inAdmins
    • inManager

      protected boolean inManager
    • repeatTime

      protected long repeatTime
    • outAuthor

      protected boolean outAuthor
    • outWorkers

      protected boolean outWorkers
    • outAdmins

      protected boolean outAdmins
    • outManager

      protected boolean outManager
    • duration

      protected int duration
    • targetPstatus

      protected String targetPstatus
    • targetPstatusInt

      protected int targetPstatusInt
    • isTargetPstatusValidated

      protected boolean isTargetPstatusValidated
    • reminder

      protected int reminder
  • Constructor Details

    • EditWFStateHandler

      public EditWFStateHandler()
  • 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() throws IOException
      Throws:
      IOException
    • performCreate

      public boolean performCreate() throws IOException
      Throws:
      IOException
    • validateUpdate

      public boolean validateUpdate() throws IOException
      Throws:
      IOException
    • performUpdate

      public boolean performUpdate() throws IOException
      Throws:
      IOException
    • validateCommonCreateUpdate

      public boolean validateCommonCreateUpdate()
    • validateDelete

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

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

      protected void updateWorkflow()
    • getModalTitle

      public String getModalTitle()
    • getModalButtonLabel

      public String getModalButtonLabel()
    • showNewPstatus

      public boolean showNewPstatus()
    • addHiddenPstatus

      public boolean addHiddenPstatus()
    • showLabel

      public boolean showLabel()
    • showDescription

      public boolean showDescription()
    • showColor

      public boolean showColor()
    • showInitState

      public boolean showInitState()
    • showOutgoingActions

      public boolean showOutgoingActions()
    • showWorkflowExpress

      public boolean showWorkflowExpress()
    • showReminder

      public boolean showReminder()
    • showLanguageChooser

      public boolean showLanguageChooser()
    • getLabelSettings

      public ControlSettings getLabelSettings()
    • getDescriptionSettings

      public ControlSettings getDescriptionSettings()
    • getColorSettings

      public ControlSettings getColorSettings()
    • getNewPstatusSettings

      public ControlSettings getNewPstatusSettings()
    • getPstatusSettings

      public ControlSettings getPstatusSettings()
    • getInitStateSettings

      public ControlSettings getInitStateSettings()
    • getWorkflowIdSettings

      public ControlSettings getWorkflowIdSettings()
    • getInAuthorSettings

      public ControlSettings getInAuthorSettings()
    • getInWorkersSettings

      public ControlSettings getInWorkersSettings()
    • getInAdminsSettings

      public ControlSettings getInAdminsSettings()
    • getInManagerSettings

      public ControlSettings getInManagerSettings()
    • getOutAuthorSettings

      public ControlSettings getOutAuthorSettings()
    • getOutWorkersSettings

      public ControlSettings getOutWorkersSettings()
    • getOutAdminsSettings

      public ControlSettings getOutAdminsSettings()
    • getOutManagerSettings

      public ControlSettings getOutManagerSettings()
    • getReminderSettings

      public ControlSettings getReminderSettings()
    • getDurationSettings

      public ControlSettings getDurationSettings()
    • getTargetPStatusSettings

      public ControlSettings getTargetPStatusSettings()
    • setOpSave

      public void setOpSave(String v)
    • setOpDelete

      public void setOpDelete(String v)
    • setWfId

      public void setWfId(String v)
    • getWfId

      public String getWfId()
    • setPstatus

      public void setPstatus(String v)
    • setNewPstatus

      public void setNewPstatus(String v)
    • getAvailableNewPstatus

      public String getAvailableNewPstatus()
    • getAvailablePstatus

      public String getAvailablePstatus()
    • setLabel

      public void setLabel(String[] v)
    • getAvailableLabelMap

      public Map<String,String> getAvailableLabelMap()
    • setDescription

      public void setDescription(String[] v)
    • getAvailableDescriptionMap

      public Map<String,String> getAvailableDescriptionMap()
    • setColor

      public void setColor(String color)
    • getAvailableColor

      public String getAvailableColor()
    • setInitState

      public void setInitState(boolean v)
    • getAvailableInitState

      public boolean getAvailableInitState()
    • setInAuthor

      public void setInAuthor(boolean v)
    • setInWorkers

      public void setInWorkers(boolean v)
    • setInAdmins

      public void setInAdmins(boolean v)
    • setInManager

      public void setInManager(boolean v)
    • setOutAuthor

      public void setOutAuthor(boolean v)
    • setOutWorkers

      public void setOutWorkers(boolean v)
    • setOutAdmins

      public void setOutAdmins(boolean v)
    • setOutManager

      public void setOutManager(boolean v)
    • getAvailableInAuthor

      public boolean getAvailableInAuthor()
    • getAvailableInWorkers

      public boolean getAvailableInWorkers()
    • getAvailableInAdmins

      public boolean getAvailableInAdmins()
    • getAvailableInManager

      public boolean getAvailableInManager()
    • getAvailableOutAuthor

      public boolean getAvailableOutAuthor()
    • getAvailableOutWorkers

      public boolean getAvailableOutWorkers()
    • getAvailableOutAdmins

      public boolean getAvailableOutAdmins()
    • getAvailableOutManager

      public boolean getAvailableOutManager()
    • setRepeatTime

      public void setRepeatTime(long v)
    • getAvailableRepeatTime

      public long getAvailableRepeatTime()
    • setDuration

      public void setDuration(int v)
    • getAvailableDuration

      public int getAvailableDuration()
    • setTargetPstatus

      public void setTargetPstatus(String v)
    • getAvailaibleTargetPstatus

      public String getAvailaibleTargetPstatus()
    • setReminder

      public void setReminder(int v)
    • getAvailableReminder

      public int getAvailableReminder()