Class DemoHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants
Direct Known Subclasses:
DemoProcessHandler

public class DemoHandler extends JcmsFormHandler
Since:
jcms-10.0.8 JCMS-9179
  • Constructor Details

    • DemoHandler

      public DemoHandler()
  • 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
    • performFinish

      protected boolean performFinish() throws IOException
      Overrides:
      performFinish in class JcmsFormHandler
      Throws:
      IOException
    • getFormStepHiddenFields

      public String getFormStepHiddenFields()
      Overrides:
      getFormStepHiddenFields in class JcmsFormHandler
    • getAvailableDuration

      public int getAvailableDuration()
    • setDuration

      public void setDuration(String duration)