fr.paris.lutece.plugins.address.service
Class WebServiceAddressService

java.lang.Object
  extended by fr.paris.lutece.plugins.address.service.WebServiceAddressService
All Implemented Interfaces:
IAddressService

public class WebServiceAddressService
extends java.lang.Object
implements IAddressService


Constructor Summary
WebServiceAddressService()
           
 
Method Summary
 Adresse getAdresseInfo(javax.servlet.http.HttpServletRequest request, long id, boolean bIsTest)
           
 java.lang.String getDateSearch()
           
 java.lang.String getDefaultCity()
           
 Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request, long id, java.lang.String addresse, java.lang.String date, boolean bIsTest)
           
 Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request, java.lang.String addresse, java.lang.String date, boolean bIsTest)
          Finds the geolocalsation.
 java.lang.String getPassword()
           
 java.lang.String getTimeOut()
           
 java.lang.String getUrlWS()
           
 java.lang.String getUserName()
           
 fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request, java.lang.String labeladresse)
           
 fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request, java.lang.String labeladresse, java.lang.String strArrondissement)
           
 fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request, java.lang.String labeladresse, java.lang.String strSRID, java.lang.String strArrondissement)
           
 void setDateSearch(java.lang.String strDateSearch)
           
 void setDefaultCity(java.lang.String strDefaultCity)
           
 void setPassword(java.lang.String password)
           
 void setTimeOut(java.lang.String timeOut)
           
 void setUrlWS(java.lang.String strUrlWS)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceAddressService

public WebServiceAddressService()
Method Detail

getGeolocalisation

public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request,
                                  java.lang.String addresse,
                                  java.lang.String date,
                                  boolean bIsTest)
                           throws java.rmi.RemoteException
Finds the geolocalsation. Uses getGeolocationRSID() as RSID.

Specified by:
getGeolocalisation in interface IAddressService
Parameters:
request - Request
bIsTest - if true test connect at web service, if false search an adress
Returns:
the XML flux of an adress
Throws:
java.rmi.RemoteException - the RemoteExecption
See Also:
getGeolocalisation(HttpServletRequest, String, String, boolean)

getGeolocalisation

public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request,
                                  long id,
                                  java.lang.String addresse,
                                  java.lang.String date,
                                  boolean bIsTest)
                           throws java.rmi.RemoteException
Specified by:
getGeolocalisation in interface IAddressService
Parameters:
request - Request
id - the rsid
bIsTest - if true test connect at web service, if false search an adress
Returns:
the XML flux of an adress
Throws:
java.rmi.RemoteException - the RemoteExecption

getAdresseInfo

public Adresse getAdresseInfo(javax.servlet.http.HttpServletRequest request,
                              long id,
                              boolean bIsTest)
                       throws java.rmi.RemoteException
Specified by:
getAdresseInfo in interface IAddressService
Parameters:
request - Request
id - the adress id
bIsTest - if true test connect at web service, if false search an adress
Returns:
the XML flux of an adress
Throws:
java.rmi.RemoteException - the RemoteExecption

searchAddress

public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
                                                        java.lang.String labeladresse)
                                                 throws java.rmi.RemoteException
Specified by:
searchAddress in interface IAddressService
Parameters:
request - Request
labeladresse - the label adress
Returns:
the XML flux of all adress corresponding
Throws:
java.rmi.RemoteException - the RemoteExecption

searchAddress

public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
                                                        java.lang.String labeladresse,
                                                        java.lang.String strArrondissement)
                                                 throws java.rmi.RemoteException
Specified by:
searchAddress in interface IAddressService
Parameters:
request - Request
labeladresse - the label adress
strArrondissement - Arrondissement
Returns:
the XML flux of all adress corresponding
Throws:
java.rmi.RemoteException - the RemoteExecption
See Also:
ADDRESS-8

searchAddress

public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
                                                        java.lang.String labeladresse,
                                                        java.lang.String strSRID,
                                                        java.lang.String strArrondissement)
                                                 throws java.rmi.RemoteException
Specified by:
searchAddress in interface IAddressService
Parameters:
strSRID - the srsid
request - Request
labeladresse - the label adress
strArrondissement - Arrondissement
Returns:
the XML flux of all adress corresponding
Throws:
java.rmi.RemoteException - the RemoteExecption
See Also:
ADDRESS-8

getDateSearch

public java.lang.String getDateSearch()
Returns:
the date for parameter methodes of web service

setDateSearch

public void setDateSearch(java.lang.String strDateSearch)
Parameters:
strDateSearch - the new date search

getDefaultCity

public java.lang.String getDefaultCity()
Returns:
the default city for parameter methodes of web service

setDefaultCity

public void setDefaultCity(java.lang.String strDefaultCity)
Parameters:
strDefaultCity - the new default city

getUrlWS

public java.lang.String getUrlWS()
Returns:
the url of the web service

setUrlWS

public void setUrlWS(java.lang.String strUrlWS)
Parameters:
strUrlWS - the new web service url

getPassword

public java.lang.String getPassword()
Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - the password

getUserName

public java.lang.String getUserName()
Returns:
the user name

setUserName

public void setUserName(java.lang.String userName)
Parameters:
userName - the user name

getTimeOut

public java.lang.String getTimeOut()
Returns:
the timeout

setTimeOut

public void setTimeOut(java.lang.String timeOut)
Parameters:
timeOut - the timeout


Copyright © 2010 Mairie de Paris. All Rights Reserved.