Class AbstractEntryTypeMyLuteceUser

    • Constructor Detail

      • AbstractEntryTypeMyLuteceUser

        public AbstractEntryTypeMyLuteceUser()
    • Method Detail

      • getTemplateCreate

        public String getTemplateCreate​(Entry entry,
                                        boolean bDisplayFront)
        Get template create URL of the entry
        Parameters:
        entry - The entry
        bDisplayFront - True if the template will be used to display content in Front Office, false if it will be used to display content in back office
        Returns:
        template create URL of the entry
      • getTemplateModify

        public String getTemplateModify​(Entry entry,
                                        boolean bDisplayFront)
        Get the template modify URL of the entry
        Parameters:
        entry - The entry
        bDisplayFront - True if the template will be used to display content in Front Office, false if it will be used to display content in back office
        Returns:
        template modify URL of the entry
      • getRequestData

        public String getRequestData​(Entry entry,
                                     javax.servlet.http.HttpServletRequest request,
                                     Locale locale)
        Get the request data
        Specified by:
        getRequestData in interface IEntryTypeService
        Overrides:
        getRequestData in class EntryTypeService
        Parameters:
        entry - The entry
        request - HttpRequest
        locale - the locale
        Returns:
        null if all data required are in the request else the url of jsp error
      • getReferenceListRegularExpression

        public fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression​(Entry entry,
                                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the list of regular expression who is use in the template modify of the entry
        Specified by:
        getReferenceListRegularExpression in interface IEntryTypeService
        Overrides:
        getReferenceListRegularExpression in class EntryTypeService
        Parameters:
        entry - the entry
        plugin - the plugin
        Returns:
        the regular expression list who is use in the template modify of the entry
      • getResponseData

        public GenericAttributeError getResponseData​(Entry entry,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     List<Response> listResponse,
                                                     Locale locale)
        Generate the list of responses associated with the given entry from the request, and saved it into the Entry object.
        Specified by:
        getResponseData in interface IEntryTypeService
        Overrides:
        getResponseData in class EntryTypeService
        Parameters:
        entry - The entry
        request - HttpRequest
        listResponse - the list of response associate to the entry. Newly created response will be inserted in this list.
        locale - the locale
        Returns:
        a GenericAttributeError object if there is an error in the response
      • getResponseValueForExport

        public String getResponseValueForExport​(Entry entry,
                                                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 IEntryTypeService
        Overrides:
        getResponseValueForExport in class EntryTypeService
        Parameters:
        entry - The entry
        request - the request
        response - the response associate to the entry
        locale - the locale
        Returns:
        the response value associate to the entry to export in the file export
      • getResponseValueForRecap

        public String getResponseValueForRecap​(Entry entry,
                                               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 IEntryTypeService
        Overrides:
        getResponseValueForRecap in class EntryTypeService
        Parameters:
        entry - The entry
        request - the request
        response - the response associate to the entry
        locale - the locale
        Returns:
        the response value associate to the entry to write in the recap