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
static java.lang.String CONSTANT_ADDRESS
           
static java.lang.String CONSTANT_PROVIDER
           
static java.lang.String CONSTANT_X
           
static java.lang.String CONSTANT_Y
           
static java.lang.String PARAMETER_MAP_PROVIDER
           
static java.lang.String PARAMETER_SUFFIX_ADDRESS
           
static java.lang.String PARAMETER_SUFFIX_X
           
static java.lang.String PARAMETER_SUFFIX_Y
           
 
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_MAXLENGTH, MESSAGE_MYLUTECE_AUTHENTIFICATION_REQUIRED, 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 getResponseValueForExport(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
 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, getFormError, getHelpMessage, getIdEntry, getMapProvider, getNumberConditionalQuestion, getPaginator, getPaginator, getParent, getPosition, getReferenceListRegularExpression, getTitle, isConfirmField, isFieldInLine, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setEntryType, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setFormError, 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
 

Field Detail

PARAMETER_MAP_PROVIDER

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

PARAMETER_SUFFIX_X

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

PARAMETER_SUFFIX_Y

public static final java.lang.String PARAMETER_SUFFIX_Y
See Also:
Constant Field Values

PARAMETER_SUFFIX_ADDRESS

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

CONSTANT_X

public static final java.lang.String CONSTANT_X
See Also:
Constant Field Values

CONSTANT_Y

public static final java.lang.String CONSTANT_Y
See Also:
Constant Field Values

CONSTANT_PROVIDER

public static final java.lang.String CONSTANT_PROVIDER
See Also:
Constant Field Values

CONSTANT_ADDRESS

public static final java.lang.String CONSTANT_ADDRESS
See Also:
Constant Field Values
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

getResponseValueForExport

public java.lang.String getResponseValueForExport(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 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 © 2011 Mairie de Paris. All Rights Reserved.