Interface IEntryDisplayService
- All Known Implementing Classes:
EntryTypeCommentDisplayService,EntryTypeDateDisplayService,EntryTypeDefaultDisplayService,EntryTypeFileDisplayService,EntryTypeFileReadingDisplayService,EntryTypeGeolocDisplayService,EntryTypeMyLuteceUserAttributeDisplayService,EntryTypeTelephoneDisplayService
public interface IEntryDisplayService
Interface for the entry display services
-
Method Summary
Modifier and TypeMethodDescriptiongetEntryTemplateDisplay(javax.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 stepgetFormColumn(int nFormColumnPosition, String strColumnTitle) Get the column of the entry display servicedefault 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
-
Method Details
-
getDisplayServiceName
String getDisplayServiceName()- Returns:
- the display service name
-
getEntryTemplateDisplay
String getEntryTemplateDisplay(javax.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 requestentry- The given entrylocale- The given localemodel- The given modeldisplayType- the display type- Returns:
- the template Html of the given entry
-
getFormColumn
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
-