Class AbstractEntryTypeGeolocation

    • Field Detail

      • PARAMETER_MAP_PROVIDER

        public static final String PARAMETER_MAP_PROVIDER
        The Constant PARAMETER_MAP_PROVIDER.
        See Also:
        Constant Field Values
      • PARAMETER_EDIT_MODE

        public static final String PARAMETER_EDIT_MODE
        The Constant PARAMETER_EDIT_MODE.
        See Also:
        Constant Field Values
      • PARAMETER_VIEW_NUMBER

        public static final String PARAMETER_VIEW_NUMBER
        The Constant PARAMETER_VIEW_NUMBER.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_ID_ADDRESS

        public static final String PARAMETER_SUFFIX_ID_ADDRESS
        The Constant PARAMETER_SUFFIX_ID_ADDRESS.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_ADDRESS

        public static final String PARAMETER_SUFFIX_ADDRESS
        The Constant PARAMETER_SUFFIX_ADDRESS.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_ADDITIONAL_ADDRESS

        public static final String PARAMETER_SUFFIX_ADDITIONAL_ADDRESS
        The Constant PARAMETER_SUFFIX_ADDITIONAL_ADDRESS.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_X

        public static final String PARAMETER_SUFFIX_X
        The Constant PARAMETER_SUFFIX_X_ADDRESS.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_Y

        public static final String PARAMETER_SUFFIX_Y
        The Constant PARAMETER_SUFFIX_Y_ADDRESS.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_GEOMETRY

        public static final String PARAMETER_SUFFIX_GEOMETRY
        The Constant PARAMETER_SUFFIX_GEOMETRY.
        See Also:
        Constant Field Values
      • PARAMETER_PREFIX_ITERATION

        public static final String PARAMETER_PREFIX_ITERATION
        The Constant PARAMETER_PREFIX_ITERATION.
        See Also:
        Constant Field Values
      • PARAMETER_NUMBER_ITERATION

        public static final String PARAMETER_NUMBER_ITERATION
        The Constant PARAMETER_NUMBER_ITERATION.
        See Also:
        Constant Field Values
      • ATTRIBUTE_LAST_ITERATION_GEOLOCATION

        public static final String ATTRIBUTE_LAST_ITERATION_GEOLOCATION
        The Constant ATTRIBUTE_LAST_ITERATION_GEOLOCATION.
        See Also:
        Constant Field Values
      • PROPERTY_ENTRY_TYPE_GEOLOCALISATION_EXPORT_WITH_FIELD_NAME

        public static final String PROPERTY_ENTRY_TYPE_GEOLOCALISATION_EXPORT_WITH_FIELD_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractEntryTypeGeolocation

        public AbstractEntryTypeGeolocation()
    • Method Detail

      • 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
      • 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
      • 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
      • getMaproviders

        public List<IMapProvider> getMaproviders()
        Returns the available map providers
        Returns:
        all known map providers
      • getMapProvidersRefList

        public fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
        Builds the ReferenceList of all available map providers
        Returns:
        the ReferenceList
      • getEditModeRefList

        public fr.paris.lutece.util.ReferenceList getEditModeRefList()
        Builds the ReferenceList of all available edit mode
        Returns:
        the ReferenceList
      • 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