Class EditShortcutStepHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditShortcutStepHandler extends generated.EditShortcutHandler
  • Field Details

  • Constructor Details

    • EditShortcutStepHandler

      public EditShortcutStepHandler()
  • Method Details

    • getFormStepPrefixProp

      public String getFormStepPrefixProp()
      Overrides:
      getFormStepPrefixProp in class JcmsFormHandler
      Returns:
      the prefix prop for the steps
    • getFormStepCount

      public int getFormStepCount()
      Description copied from class: JcmsFormHandler
      Retrieve the total number of steps used for edition when invoking this form handler.

      The default implementation of this method is to return 1, corresponding to one step (which means only 1 screen being displayed).

      You can provide a custom FormHandler to override this behavior.

      See jcore/doSteps.jspf for use of this method.

      Overrides:
      getFormStepCount in class JcmsFormHandler
      Returns:
      the total number of steps in this formhandler
    • showFinishButton

      public boolean showFinishButton()
      Description copied from class: JcmsFormHandler
      Check if the "Finish" button should be displayed in step modal form.

      The default implementation of this method is to return true if the current step (as returned by JcmsFormHandler.getFormStep() is the last one (as compared with JcmsFormHandler.getFormStepCount().

      You can provide a custom FormHandler to override this behavior.

      See jcore/doStepButtons.jspf for use of this method.

      Overrides:
      showFinishButton in class JcmsFormHandler
      Returns:
      true to display the "Finish" button, false to hide it
    • getFormStepHiddenFields

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

      public boolean showPreviousButton()
      Description copied from class: JcmsFormHandler
      Check if the "Previous" button should be displayed in step modal form.

      The default implementation of this method is to return true if the current step (as returned by JcmsFormHandler.getFormStep() is higher than 0.

      You can provide a custom FormHandler to override this behavior.

      See jcore/doStepButtons.jspf for use of this method.

      Overrides:
      showPreviousButton in class JcmsFormHandler
      Returns:
      true to display the "Previous" button, false to hide it
    • showNextButton

      public boolean showNextButton()
      Description copied from class: JcmsFormHandler
      Check if the "Next" button should be displayed in step modal form.

      The default implementation of this method is to return true unless the finish button is being displayed by method JcmsFormHandler.showFinishButton().

      You can provide a custom FormHandler to override this behavior.

      See jcore/doStepButtons.jspf for use of this method.

      Overrides:
      showNextButton in class JcmsFormHandler
      Returns:
      true to display the "Next" button, false to hide it
    • validateFinish

      protected boolean validateFinish() throws IOException
      Overrides:
      validateFinish in class generated.EditShortcutHandler
      Throws:
      IOException
    • validateNext

      protected boolean validateNext() throws IOException
      Overrides:
      validateNext in class generated.EditShortcutHandler
      Throws:
      IOException
    • getLinkType

      public String getLinkType()
    • setLinkType

      public void setLinkType(String linkType)