Interface ICompositeDisplay

    • Method Detail

      • getCompositeHtml

        String getCompositeHtml​(javax.servlet.http.HttpServletRequest request,
                                List<FormQuestionResponse> listFormQuestionResponse,
                                Locale locale,
                                DisplayType displayType)
        Builds the HTML of the composite
        Parameters:
        request - the request
        listFormQuestionResponse - the list of form question responses
        locale - The locale
        displayType - The display type
        Returns:
        the HTML
      • iterate

        void iterate​(int nIdFormDisplay)
        Iterates the specified form display
        Parameters:
        nIdFormDisplay - the id of the form display to iterate
      • removeIteration

        void removeIteration​(javax.servlet.http.HttpServletRequest request,
                             int nIdGroupParent,
                             int nIndexIterationToRemove,
                             FormResponse formResponse)
        Remove the specified iteration of group
        Parameters:
        request - the request
        nIdGroupParent - the id of the group
        nIndexIterationToRemove - the index of the iteration to remove in group
        formResponse - the form responses
      • getCompositeList

        List<ICompositeDisplay> getCompositeList()
        Return the full list of children ICompositeDisplay of an initialized CompositeDisplay
        Returns:
        the children composite list
      • getTitle

        String getTitle()
        Returns:
        the title of the compositeDisplay
      • getType

        String getType()
        Returns:
        the type of the compositeDisplay
      • getFormDisplay

        FormDisplay getFormDisplay()
        return the FormDisplay
        Returns:
        the FormDisplay
      • getIcon

        String getIcon()
        Returns:
        the icon name
      • getAllDisplayControls

        List<Control> getAllDisplayControls()
        Returns:
        all the Display Controls in the child
      • addQuestions

        void addQuestions​(List<Question> listQuestion)
        Add the questions into the specified list
        Parameters:
        listQuestion - the list of question to complete
      • addModel

        void addModel​(Map<String,​Object> model)
        Adds the specified model in the model of this instance
        Parameters:
        model - the model to add
      • isVisible

        boolean isVisible()
        is the composite display visible.
        Returns: