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 alsoFormDesignerPublishBean.publishForm()
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormPublishHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormVersion
persistForm(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Projekt project, Benutzer user)
Processes a form publish request, i.e. saves the persist JSON.
-
-
-
Method Detail
-
persistForm
public static FormVersion persistForm(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Projekt project, Benutzer user) 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.user
- Currently logged in user.- 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.
-
-