Class AbstractFormJsonService

    • Method Detail

      • jsonExportStep

        public String jsonExportStep​(int idForm,
                                     int idStep)
                              throws com.fasterxml.jackson.core.JsonProcessingException
        Export the step as a Json Object.
        Returns:
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • jsonExportStepAsData

        public StepJsonData jsonExportStepAsData​(int idForm,
                                                 int idStep)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Export the step as a StepJsonData Object.
        Returns:
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • jsonImportStep

        @Transactional("forms.transactionManager")
        public void jsonImportStep​(int idForm,
                                   String json,
                                   Locale locale)
                            throws com.fasterxml.jackson.core.JsonProcessingException
        Import the step from a Json Object.
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • jsonImportStep

        @Transactional("forms.transactionManager")
        public void jsonImportStep​(int idForm,
                                   StepJsonData jsonData,
                                   Locale locale)