Interface IEntryDisplayService

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayServiceName()  
      java.lang.String getEntryTemplateDisplay​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.genericattributes.business.Entry entry, java.util.Locale locale, java.util.Map<java.lang.String,​java.lang.Object> model, DisplayType displayType)
      Get the Html of the given step
      IFormColumn getFormColumn​(int nFormColumnPosition, java.lang.String strColumnTitle)
      Get the column of the entry display service
      default java.util.List<fr.paris.lutece.plugins.genericattributes.business.Response> retrieveResponseListFromModel​(java.util.Map<java.lang.String,​java.lang.Object> model)
      Return from the given map the list of Response of the model
    • Method Detail

      • getDisplayServiceName

        java.lang.String getDisplayServiceName()
        Returns:
        the display service name
      • getEntryTemplateDisplay

        java.lang.String getEntryTemplateDisplay​(javax.servlet.http.HttpServletRequest request,
                                                 fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                                                 java.util.Locale locale,
                                                 java.util.Map<java.lang.String,​java.lang.Object> model,
                                                 DisplayType displayType)
        Get the Html of the given step
        Parameters:
        request - the request
        entry - The given entry
        locale - The given locale
        model - The given model
        displayType - the display type
        Returns:
        the template Html of the given entry
      • getFormColumn

        IFormColumn getFormColumn​(int nFormColumnPosition,
                                  java.lang.String strColumnTitle)
        Get the column of the entry display service
        Parameters:
        nFormColumnPosition -
        strColumnTitle -
        Returns:
        the column corresponding the the current entryDisplayService
      • retrieveResponseListFromModel

        default java.util.List<fr.paris.lutece.plugins.genericattributes.business.Response> retrieveResponseListFromModel​(java.util.Map<java.lang.String,​java.lang.Object> model)
        Return from the given map the list of Response of the model
        Parameters:
        model - The model on which to retrieve the list of all Response
        Returns:
        the list of Response form the given model or an empty collection if its missing or if an error occurred