Class AbstractEntryTypeCartography

    • Field Detail

      • PARAMETER_ID_ENTRY

        public static final java.lang.String PARAMETER_ID_ENTRY
        See Also:
        Constant Field Values
      • PARAMETER_ID_RESOURCE

        public static final java.lang.String PARAMETER_ID_RESOURCE
        See Also:
        Constant Field Values
      • PARAMETER_MAP_PROVIDER

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

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

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

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

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

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

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

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

        public static final java.lang.String PARAMETER_SUFFIX_GEOMETRY
        The Constant PARAMETER_SUFFIX_GEOMETRY.
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_GEOJSON

        public static final java.lang.String PARAMETER_SUFFIX_GEOJSON
        See Also:
        Constant Field Values
      • PARAMETER_SUFFIX_ID_LAYER

        public static final java.lang.String PARAMETER_SUFFIX_ID_LAYER
        See Also:
        Constant Field Values
      • PARAMETER_COORDINATE_X

        public static final java.lang.String PARAMETER_COORDINATE_X
        See Also:
        Constant Field Values
      • PARAMETER_COORDINATE_Y

        public static final java.lang.String PARAMETER_COORDINATE_Y
        See Also:
        Constant Field Values
      • PARAMETER_COORDINATE_POLYGON

        public static final java.lang.String PARAMETER_COORDINATE_POLYGON
        See Also:
        Constant Field Values
      • PARAMETER_COORDINATE_POLYLINE

        public static final java.lang.String PARAMETER_COORDINATE_POLYLINE
        See Also:
        Constant Field Values
      • PARAMETER_DATALAYER

        public static final java.lang.String PARAMETER_DATALAYER
        See Also:
        Constant Field Values
      • PARAMETER_EDIT_MODE_LIST

        public static final java.lang.String PARAMETER_EDIT_MODE_LIST
        See Also:
        Constant Field Values
      • PROPERTY_ENTRY_TYPE_CARTOGRAPHY_EXPORT_WITH_FIELD_NAME

        public static final java.lang.String PROPERTY_ENTRY_TYPE_CARTOGRAPHY_EXPORT_WITH_FIELD_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractEntryTypeCartography

        public AbstractEntryTypeCartography()
    • Method Detail

      • getRequestData

        public java.lang.String getRequestData​(Entry entry,
                                               javax.servlet.http.HttpServletRequest request,
                                               java.util.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,
                                                     java.util.List<Response> listResponse,
                                                     java.util.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 java.lang.String getResponseValueForRecap​(Entry entry,
                                                         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 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
      • getMapProvidersRefList

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

        public java.lang.String getResponseValueForExport​(Entry entry,
                                                          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 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