Class EntryTypeFileDisplayService

    • Constructor Summary

      Constructors 
      Constructor Description
      EntryTypeFileDisplayService​(java.lang.String strEntryServiceName)
      Constructor of the EntryTypeFileDisplayService
    • Method Summary

      All Methods Instance Methods Concrete 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
      java.util.Map<java.lang.String,​java.lang.Object> setModel​(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService service, java.util.Map<java.lang.String,​java.lang.Object> model)
      Return the completed model
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntryTypeFileDisplayService

        public EntryTypeFileDisplayService​(java.lang.String strEntryServiceName)
        Constructor of the EntryTypeFileDisplayService
        Parameters:
        strEntryServiceName - The entry service name
    • Method Detail

      • setModel

        public java.util.Map<java.lang.String,​java.lang.Object> setModel​(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                                                                               fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService service,
                                                                               java.util.Map<java.lang.String,​java.lang.Object> model)
        Return the completed model
        Parameters:
        entry - The given entry
        service - The upload service
        model - The upload model
        Returns:
        the completed model
      • getEntryTemplateDisplay

        public 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)
        Description copied from interface: IEntryDisplayService
        Get the Html of the given step
        Specified by:
        getEntryTemplateDisplay in interface IEntryDisplayService
        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

        public IFormColumn getFormColumn​(int nFormColumnPosition,
                                         java.lang.String strColumnTitle)
        Description copied from interface: IEntryDisplayService
        Get the column of the entry display service
        Specified by:
        getFormColumn in interface IEntryDisplayService
        Returns:
        the column corresponding the the current entryDisplayService