Interface IFormVersionHandler

All Superinterfaces:
IAPIHandler, IGenericHandler, Serializable
All Known Implementing Classes:
FormVersionHandler

public interface IFormVersionHandler extends IGenericHandler
Author:
XIMA MEDIA GmbH
  • Method Details

    • create

      FormVersion create(UserContext uc, FormVersion fv, Boolean setActive)
      Persists the given new form version in the database.
      Parameters:
      uc - the uc
      fv - the fv
      setActive - the set active
      Returns:
      the form version
    • getByProjekt

      List<FormVersion> getByProjekt(UserContext uc, Projekt projekt)
    • getByVersionNumber

      FormVersion getByVersionNumber(UserContext uc, Integer formVersionNumber, Long projectId)
      Gets a form version by its version number. Defaults to the project's current version if the version number is null or no form version with the given version number exists.
      Parameters:
      uc - The user context of the user who requests the form version.
      formVersionNumber - The version number of the form version to get.
      projectId - ID of the project to get the form version for.
      Returns:
      The form version with the given version number or the project's current version if the version number is null or no form version with the given version number exists.
      Since:
      8.3.0