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


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.form.business.Entry
EMPTY_STRING, 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_NUMERIC_FIELD, MESSAGE_UNIQUE_FIELD, MESSAGE_XSS_FIELD, PARAMETER_COMMENT, PARAMETER_CONFIRM_FIELD, PARAMETER_CONFIRM_FIELD_TITLE, PARAMETER_FIELD_IN_LINE, PARAMETER_HEIGHT, PARAMETER_HELP_MESSAGE, PARAMETER_MANDATORY, PARAMETER_MAX_SIZE_ENTER, PARAMETER_TITLE, PARAMETER_UNIQUE, PARAMETER_VALUE, PARAMETER_WIDTH, SUFFIX_CONFIRM_FIELD
 
Constructor Summary
EntryTypeGeolocation()
           
 
Method Summary
 java.lang.String getHtmlCode()
          Get the HtmlCode of the entry
 java.util.List<IMapProvider> getMapProviders()
          Returns the available map providers
 fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
          Builds the ReferenceList of all available map providers
 java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
          Get the request data
 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
 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
 java.lang.String getTemplateCreate()
          Get template create url of the entry
 java.lang.String getTemplateModify()
          Get the template modify url of the entry
 
Methods inherited from class fr.paris.lutece.plugins.form.business.Entry
getChildren, getComment, getConfirmFieldTitle, getEntryType, getFieldDepend, getFields, getForm, getHelpMessage, getIdEntry, getMapProvider, getNumberConditionalQuestion, getPaginator, getParent, getPosition, getReferenceListRegularExpression, getResponseValueForExport, getTitle, isConfirmField, isFieldInLine, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setEntryType, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setHelpMessage, setIdEntry, setLastInTheList, setMandatory, setMapProvider, setNumberConditionalQuestion, setParent, setPosition, setTitle, setUnique
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryTypeGeolocation

public EntryTypeGeolocation()
Method Detail

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

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

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

getResponseValueForRecap

public java.lang.String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request,
                                                 Response response,
                                                 java.util.Locale locale)
Description copied from class: Entry
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 java.util.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


Copyright © 2010 Mairie de Paris. All Rights Reserved.