Class EntryTypeSelect

java.lang.Object
fr.paris.lutece.plugins.form.business.Entry
fr.paris.lutece.plugins.form.business.EntryTypeSelect
All Implemented Interfaces:
IEntry

public class EntryTypeSelect extends Entry
class EntryTypeSelect
  • Constructor Details

    • EntryTypeSelect

      public EntryTypeSelect()
  • Method Details

    • getHtmlCode

      public String getHtmlCode()
      Get the HtmlCode of the entry
      Specified by:
      getHtmlCode in interface IEntry
      Overrides:
      getHtmlCode in class Entry
      Returns:
      the HtmlCode of the entry
    • getRequestData

      public String getRequestData(javax.servlet.http.HttpServletRequest request, Locale locale)
      Get the request data
      Specified by:
      getRequestData in interface IEntry
      Overrides:
      getRequestData in class Entry
      Parameters:
      request - HttpRequest
      locale - the locale
      Returns:
      null if all data requiered are in the request else the url of jsp error
    • getTemplateCreate

      public String getTemplateCreate()
      Get template create url of the entry
      Specified by:
      getTemplateCreate in interface IEntry
      Overrides:
      getTemplateCreate in class Entry
      Returns:
      template create url of the entry
    • getTemplateModify

      public String getTemplateModify()
      Get the template modify url of the entry
      Specified by:
      getTemplateModify in interface IEntry
      Overrides:
      getTemplateModify in class Entry
      Returns:
      template modify url of the entry
    • getPaginator

      public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex)
      The paginator who is use in the template modify of the entry
      Specified by:
      getPaginator in interface IEntry
      Overrides:
      getPaginator in class Entry
      Parameters:
      nItemPerPage - Number of items to display per page
      strBaseUrl - The base Url for build links on each page link
      strPageIndexParameterName - The parameter name for the page index
      strPageIndex - The current page index
      Returns:
      the paginator who is use in the template modify of the entry
    • getResponseData

      public FormError getResponseData(javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale)
      save in the list of response the response associate to the entry in the form submit
      Specified by:
      getResponseData in interface IEntry
      Overrides:
      getResponseData in class Entry
      Parameters:
      request - HttpRequest
      listResponse - the list of response associate to the entry in the form submit
      locale - the locale
      Returns:
      a Form error object if there is an error in the response
    • getResponseValueForExport

      public String getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
      Get the response value associate to the entry to export in the file export
      Specified by:
      getResponseValueForExport in interface IEntry
      Overrides:
      getResponseValueForExport in class Entry
      Parameters:
      response - the response associate to the entry
      locale - the locale
      request - the request
      Returns:
      the response value associate to the entry to export in the file export
    • getResponseValueForRecap

      public String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
      Get the response value associate to the entry to write in the recap
      Specified by:
      getResponseValueForRecap in interface IEntry
      Overrides:
      getResponseValueForRecap in class Entry
      Parameters:
      response - the response associate to the entry
      locale - the locale
      request - the request
      Returns:
      the response value associate to the entry to write in the recap