Class FormVersionHandler

    • Constructor Detail

      • FormVersionHandler

        public FormVersionHandler()
    • Method Detail

      • getByVersionNumber

        public FormVersion getByVersionNumber​(UserContext uc,
                                              Integer formVersionNumber,
                                              Long projectId)
        Description copied from interface: IFormVersionHandler
        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.
        Specified by:
        getByVersionNumber in interface IFormVersionHandler
        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.