Class FormPublishHelper

java.lang.Object
de.xima.fc.gui.designer.form.utils.FormPublishHelper

public final class FormPublishHelper extends Object
Utilities for publishing (saving) a form version, see also FormDesignerPublishBean.publishForm().
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • FormPublishHelper

      public FormPublishHelper()
  • Method Details

    • persistForm

      public static FormVersion persistForm(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Projekt project) throws Exception
      Processes a form publish request, i.e. saves the persist JSON.
      Parameters:
      req - Currently active HTTP request.
      resp - Currently active HTTP response.
      project - Project with a form version to update.
      Returns:
      The new form version that was created or updated.
      Throws:
      Exception - When the data could not be persisted due to any reason, such as missing permissions or database errors.