Interface IEntryDisplayService

All Known Implementing Classes:
EntryTypeCommentDisplayService, EntryTypeDateDisplayService, EntryTypeDefaultDisplayService, EntryTypeFileDisplayService, EntryTypeFileReadingDisplayService, EntryTypeGeolocDisplayService, EntryTypeMyLuteceUserAttributeDisplayService, EntryTypeTelephoneDisplayService

public interface IEntryDisplayService
Interface for the entry display services
  • Method Details

    • getDisplayServiceName

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

      String getEntryTemplateDisplay(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.genericattributes.business.Entry entry, Locale locale, Map<String,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, String strColumnTitle)
      Get the column of the entry display service
      Parameters:
      nFormColumnPosition -
      strColumnTitle -
      Returns:
      the column corresponding the the current entryDisplayService
    • retrieveResponseListFromModel

      default List<fr.paris.lutece.plugins.genericattributes.business.Response> retrieveResponseListFromModel(Map<String,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