Class JPortalCreateHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class JPortalCreateHandler extends generated.EditJPortalHandler
  • Field Details

  • Constructor Details

    • JPortalCreateHandler

      public JPortalCreateHandler()
  • Method Details

    • 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
    • getFormStepHiddenFields

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

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

      protected boolean validateFinish() throws IOException
      Overrides:
      validateFinish in class generated.EditJPortalHandler
      Throws:
      IOException
    • getJPortalTemplateMapping

      protected JPortalMapping getJPortalTemplateMapping()
      Allows use of custom template by subclass.
      Returns:
      the template to use for the portal mapping
      Since:
      jcms-10.0.9 / JCMS-11419
    • performCreate

      public boolean performCreate() throws IOException
      Overrides:
      performCreate in class EditPublicationHandler
      Throws:
      IOException
    • validateNext

      protected boolean validateNext() throws IOException
      Overrides:
      validateNext in class generated.EditJPortalHandler
      Throws:
      IOException
    • 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
    • getTemplate

      public String getTemplate()
    • setTemplate

      public void setTemplate(String template)
    • getTemplateList

      public List<JPortalTemplate> getTemplateList()