Class EntryTypeCheckBox

  • All Implemented Interfaces:
    IEntry

    public class EntryTypeCheckBox
    extends Entry
    class EntryTypeCheckBox
    • Constructor Detail

      • EntryTypeCheckBox

        public EntryTypeCheckBox()
    • Method Detail

      • getHtmlCode

        public java.lang.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 java.lang.String getRequestData​(javax.servlet.http.HttpServletRequest request,
                                               java.util.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 java.lang.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 java.lang.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,
                                                                java.lang.String strBaseUrl,
                                                                java.lang.String strPageIndexParameterName,
                                                                java.lang.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,
                                         java.util.List<Response> listResponse,
                                         java.util.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 java.lang.String getResponseValueForExport​(javax.servlet.http.HttpServletRequest request,
                                                          Response response,
                                                          java.util.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 java.lang.String getResponseValueForRecap​(javax.servlet.http.HttpServletRequest request,
                                                         Response response,
                                                         java.util.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