fr.paris.lutece.plugins.address.service
Class WebServiceAddressService
java.lang.Object
fr.paris.lutece.plugins.address.service.WebServiceAddressService
- All Implemented Interfaces:
- IAddressService
public class WebServiceAddressService
- extends Object
- implements IAddressService
|
Method Summary |
Adresse |
getAdresseInfo(javax.servlet.http.HttpServletRequest request,
long id,
boolean bIsTest)
|
String |
getDateSearch()
|
String |
getDefaultCity()
|
Adresse |
getGeolocalisation(javax.servlet.http.HttpServletRequest request,
long id,
String addresse,
String date,
boolean bIsTest)
|
Adresse |
getGeolocalisation(javax.servlet.http.HttpServletRequest request,
String addresse,
String date,
boolean bIsTest)
Finds the geolocalsation. |
String |
getPassword()
|
String |
getTimeOut()
|
String |
getUrlWS()
|
String |
getUserName()
|
fr.paris.lutece.util.ReferenceList |
searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse)
|
fr.paris.lutece.util.ReferenceList |
searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse,
String strArrondissement)
|
fr.paris.lutece.util.ReferenceList |
searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse,
String strSRID,
String strArrondissement)
|
void |
setDateSearch(String strDateSearch)
|
void |
setDefaultCity(String strDefaultCity)
|
void |
setPassword(String password)
|
void |
setTimeOut(String timeOut)
|
void |
setUrlWS(String strUrlWS)
|
void |
setUserName(String userName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceAddressService
public WebServiceAddressService()
getGeolocalisation
public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request,
String addresse,
String date,
boolean bIsTest)
throws RemoteException
- Finds the geolocalsation.
Uses
getGeolocationRSID() as RSID.
- Specified by:
getGeolocalisation in interface IAddressService
- Parameters:
request - RequestbIsTest - if true test connect at web service, if false search an adress
- Returns:
- the XML flux of an adress
- Throws:
RemoteException - the RemoteExecption- See Also:
getGeolocalisation(HttpServletRequest, String, String, boolean)
getGeolocalisation
public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request,
long id,
String addresse,
String date,
boolean bIsTest)
throws RemoteException
- Specified by:
getGeolocalisation in interface IAddressService
- Parameters:
request - Requestid - the rsidbIsTest - if true test connect at web service, if false search an adress
- Returns:
- the XML flux of an adress
- Throws:
RemoteException - the RemoteExecption
getAdresseInfo
public Adresse getAdresseInfo(javax.servlet.http.HttpServletRequest request,
long id,
boolean bIsTest)
throws RemoteException
- Specified by:
getAdresseInfo in interface IAddressService
- Parameters:
request - Requestid - the adress idbIsTest - if true test connect at web service, if false search an adress
- Returns:
- the XML flux of an adress
- Throws:
RemoteException - the RemoteExecption
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse)
throws RemoteException
- Specified by:
searchAddress in interface IAddressService
- Parameters:
request - Requestlabeladresse - the label adress
- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException - the RemoteExecption
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse,
String strArrondissement)
throws RemoteException
- Specified by:
searchAddress in interface IAddressService
- Parameters:
request - Requestlabeladresse - the label adressstrArrondissement - Arrondissement
- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException - the RemoteExecption- See Also:
- ADDRESS-8
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request,
String labeladresse,
String strSRID,
String strArrondissement)
throws RemoteException
- Specified by:
searchAddress in interface IAddressService
- Parameters:
strSRID - the srsidrequest - Requestlabeladresse - the label adressstrArrondissement - Arrondissement
- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException - the RemoteExecption- See Also:
- ADDRESS-8
getDateSearch
public String getDateSearch()
- Returns:
- the date for parameter methodes of web service
setDateSearch
public void setDateSearch(String strDateSearch)
- Parameters:
strDateSearch - the new date search
getDefaultCity
public String getDefaultCity()
- Returns:
- the default city for parameter methodes of web service
setDefaultCity
public void setDefaultCity(String strDefaultCity)
- Parameters:
strDefaultCity - the new default city
getUrlWS
public String getUrlWS()
- Returns:
- the url of the web service
setUrlWS
public void setUrlWS(String strUrlWS)
- Parameters:
strUrlWS - the new web service url
getPassword
public String getPassword()
- Returns:
- the password
setPassword
public void setPassword(String password)
- Parameters:
password - the password
getUserName
public String getUserName()
- Returns:
- the user name
setUserName
public void setUserName(String userName)
- Parameters:
userName - the user name
getTimeOut
public String getTimeOut()
- Returns:
- the timeout
setTimeOut
public void setTimeOut(String timeOut)
- Parameters:
timeOut - the timeout
Copyright © 2014 Mairie de Paris. All Rights Reserved.