Interface IEntryDataService

    • Method Detail

      • getDataServiceName

        String getDataServiceName()
        Returns:
        the data service name
      • save

        void save​(FormQuestionResponse questionResponse)
        Parameters:
        questionResponse - the questionResponse to save
      • createResponseFromRequest

        FormQuestionResponse createResponseFromRequest​(Question question,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       boolean bValidateQuestion)
        Creates the response values from request for the given question
        Parameters:
        question - the question to
        request - The Http request
        bValidateQuestion - the boolean to validate question
        Returns:
        The response to the question
      • isResponseChanged

        boolean isResponseChanged​(FormQuestionResponse responseReference,
                                  FormQuestionResponse responseNew)
        Tests if a response has changed
        Parameters:
        responseReference - the reference response
        responseNew - the new response
        Returns:
        true if the response has changed, false otherwise
      • responseToStrings

        List<String> responseToStrings​(FormQuestionResponse formQuestionResponse)
        Extracts the responses from the specified form question response as a list of String objects
        Parameters:
        formQuestionResponse - the response to convert
        Returns:
        the list of String objects
      • questionRemoved

        void questionRemoved​(javax.servlet.http.HttpServletRequest request,
                             Question question)
        Performs a treatment when the question is removed in front-office
        Parameters:
        request - the request
        question - the removed question
      • questionMoved

        void questionMoved​(javax.servlet.http.HttpServletRequest request,
                           Question question,
                           int nNewIterationNumber)
        Performs a treatment when the question is moved in front-office
        Parameters:
        request - the request
        question - the moved question
        nNewIterationNumber - the new iteration number