Interface ITemplateService

  • All Known Implementing Classes:
    TemplateService

    public interface ITemplateService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteTemplate​(int nIdTemplate)
      Remove a given template and the all its formDisplays.
      List<fr.paris.lutece.plugins.forms.web.ICompositeDisplay> getTemplateCompositeList​(int nIdTemplate)
      Get the full children composite list of the given template
      fr.paris.lutece.plugins.forms.web.ICompositeDisplay templateDisplayToComposite​(fr.paris.lutece.plugins.forms.business.FormDisplay templateDisplay, int nIterationNumber)
      Get the right composite from the given templateDisplay
    • Method Detail

      • getTemplateCompositeList

        List<fr.paris.lutece.plugins.forms.web.ICompositeDisplay> getTemplateCompositeList​(int nIdTemplate)
        Get the full children composite list of the given template
        Parameters:
        nIdTemplate - The template primary key
        Returns:
        the Html of the given template
      • templateDisplayToComposite

        fr.paris.lutece.plugins.forms.web.ICompositeDisplay templateDisplayToComposite​(fr.paris.lutece.plugins.forms.business.FormDisplay templateDisplay,
                                                                                       int nIterationNumber)
        Get the right composite from the given templateDisplay
        Parameters:
        templateDisplay - The templateDisplay
        nIterationNumber - the iteration number
        Returns:
        the right composite
      • deleteTemplate

        void deleteTemplate​(int nIdTemplate)
        Remove a given template and the all its formDisplays. The responses, group/question associated to the displays will be deleted. All the descendants of the displays will also be removed
        Parameters:
        nIdTemplate - The Template Id