Interface IEntryDisplayService
-
- All Known Implementing Classes:
EntryTypeCommentDisplayService,EntryTypeDateDisplayService,EntryTypeDefaultDisplayService,EntryTypeFileDisplayService,EntryTypeFileReadingDisplayService,EntryTypeGeolocDisplayService,EntryTypeMyLuteceUserAttributeDisplayService,EntryTypeTelephoneDisplayService
public interface IEntryDisplayServiceInterface for the entry display services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetDisplayServiceName()java.lang.StringgetEntryTemplateDisplay(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 stepIFormColumngetFormColumn(int nFormColumnPosition, java.lang.String strColumnTitle)Get the column of the entry display servicedefault 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 requestentry- The given entrylocale- The given localemodel- The given modeldisplayType- 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
-
-