fr.paris.lutece.plugins.form.business
Class EntryTypeGeolocation

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

public class EntryTypeGeolocation
extends Entry

The Class EntryTypeGeolocation.


Field Summary
static String CONSTANT_ADDRESS
          The Constant CONSTANT_ADDRESS.
static String CONSTANT_ID_ADDRESS
          The Constant CONSTANT_ID_ADDRESS.
static String CONSTANT_PROVIDER
          The Constant CONSTANT_PROVIDER.
static String CONSTANT_X
          The Constant CONSTANT_X.
static String CONSTANT_Y
          The Constant CONSTANT_Y.
static String PARAMETER_MAP_PROVIDER
          The Constant PARAMETER_MAP_PROVIDER.
static String PARAMETER_SUFFIX_ADDRESS
          The Constant PARAMETER_SUFFIX_ADDRESS.
static String PARAMETER_SUFFIX_ID_ADDRESS
          The Constant PARAMETER_SUFFIX_ID_ADDRESS.
static String PARAMETER_SUFFIX_X
          The Constant PARAMETER_SUFFIX_X.
static String PARAMETER_SUFFIX_Y
          The Constant PARAMETER_SUFFIX_Y.
 
Fields inherited from class fr.paris.lutece.plugins.form.business.Entry
FIELD_COMMENT, FIELD_CONFIRM_FIELD, FIELD_CONFIRM_FIELD_TITLE, FIELD_HEIGHT, FIELD_HELP_MESSAGE, FIELD_INSERT_GROUP, FIELD_MANDATORY, FIELD_MAX_SIZE_ENTER, FIELD_PRESENTATION, FIELD_TITLE, FIELD_VALUE, FIELD_WIDTH, JSP_DOWNLOAD_FILE, MARK_ENTRY, MESSAGE_CONFIRM_FIELD, MESSAGE_MANDATORY_FIELD, MESSAGE_MAXLENGTH, MESSAGE_MYLUTECE_AUTHENTIFICATION_REQUIRED, MESSAGE_NUMERIC_FIELD, MESSAGE_UNIQUE_FIELD, MESSAGE_XSS_FIELD, PARAMETER_COMMENT, PARAMETER_CONFIRM_FIELD, PARAMETER_CONFIRM_FIELD_TITLE, PARAMETER_CSS_CLASS, PARAMETER_ERROR_MESSAGE, PARAMETER_FIELD_IN_LINE, PARAMETER_HEIGHT, PARAMETER_HELP_MESSAGE, PARAMETER_MANDATORY, PARAMETER_MAX_SIZE_ENTER, PARAMETER_TITLE, PARAMETER_UNIQUE, PARAMETER_VALUE, PARAMETER_WIDTH, PREFIX_FORM, SUFFIX_CONFIRM_FIELD
 
Constructor Summary
EntryTypeGeolocation()
           
 
Method Summary
 String getHtmlCode()
          Get the HtmlCode of the entry
 List<IMapProvider> getMapProviders()
          Returns the available map providers
 fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
          Builds the ReferenceList of all available map providers
 String getRequestData(javax.servlet.http.HttpServletRequest request, Locale locale)
          Get the request data
 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
 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
 String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
          Get the response value associate to the entry to write in the recap
 String getTemplateCreate()
          Get template create url of the entry
 String getTemplateModify()
          Get the template modify url of the entry
 
Methods inherited from class fr.paris.lutece.plugins.form.business.Entry
canUploadFiles, getChildren, getComment, getConfirmFieldTitle, getCSSClass, getEntryType, getErrorMessage, getFieldDepend, getFields, getForm, getFormError, getHelpMessage, getIdEntry, getMapProvider, getNumberConditionalQuestion, getPaginator, getPaginator, getParent, getPosition, getReferenceListRegularExpression, getTitle, isConfirmField, isFieldInLine, isFile, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setCSSClass, setEntryType, setErrorMessage, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setFormError, setHelpMessage, setIdEntry, setLastInTheList, setMandatory, setMapProvider, setNumberConditionalQuestion, setParent, setPosition, setResponseToStringValue, setTitle, setUnique
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_MAP_PROVIDER

public static final String PARAMETER_MAP_PROVIDER
The Constant PARAMETER_MAP_PROVIDER.

See Also:
Constant Field Values

PARAMETER_SUFFIX_X

public static final String PARAMETER_SUFFIX_X
The Constant PARAMETER_SUFFIX_X.

See Also:
Constant Field Values

PARAMETER_SUFFIX_Y

public static final String PARAMETER_SUFFIX_Y
The Constant PARAMETER_SUFFIX_Y.

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_ID_ADDRESS

public static final String PARAMETER_SUFFIX_ID_ADDRESS
The Constant PARAMETER_SUFFIX_ID_ADDRESS.

See Also:
Constant Field Values

CONSTANT_X

public static final String CONSTANT_X
The Constant CONSTANT_X.

See Also:
Constant Field Values

CONSTANT_Y

public static final String CONSTANT_Y
The Constant CONSTANT_Y.

See Also:
Constant Field Values

CONSTANT_PROVIDER

public static final String CONSTANT_PROVIDER
The Constant CONSTANT_PROVIDER.

See Also:
Constant Field Values

CONSTANT_ADDRESS

public static final String CONSTANT_ADDRESS
The Constant CONSTANT_ADDRESS.

See Also:
Constant Field Values

CONSTANT_ID_ADDRESS

public static final String CONSTANT_ID_ADDRESS
The Constant CONSTANT_ID_ADDRESS.

See Also:
Constant Field Values
Constructor Detail

EntryTypeGeolocation

public EntryTypeGeolocation()
Method Detail

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

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

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

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:
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

getMapProviders

public List<IMapProvider> getMapProviders()
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

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:
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


Copyright © 2013 Mairie de Paris. All Rights Reserved.