Class PresentationCompiler

java.lang.Object
org.pidome.server.services.http.presentation.PresentationCompiler

public final class PresentationCompiler extends Object
Base entry to compile various type of presentations to be exposed via REST.
  • Method Details

    • mergeForm

      public static <T extends org.pidome.platform.presentation.input.form.InputForm> io.vertx.core.Future<T> mergeForm(T originalForm, String supplied)
      Merges an original input form with values from a json source.

      The form merge takes the send in form and merges this with the original form. This means the original form is always leading.

      Type Parameters:
      T - The type extending InputForm
      Parameters:
      originalForm - The original form.
      supplied - The json form send in from external.
      Returns:
      The merged input form.