Class WebServiceAddressService
java.lang.Object
fr.paris.lutece.plugins.address.service.WebServiceAddressService
- All Implemented Interfaces:
IAddressService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdresseInfo(javax.servlet.http.HttpServletRequest request, long id, boolean bIsTest) getGeolocalisation(javax.servlet.http.HttpServletRequest request, long id, String addresse, String date, boolean bIsTest) getGeolocalisation(javax.servlet.http.HttpServletRequest request, String addresse, String date, boolean bIsTest) Finds the geolocalsation.getUrlWS()fr.paris.lutece.util.ReferenceListsearchAddress(javax.servlet.http.HttpServletRequest request, String labeladresse) fr.paris.lutece.util.ReferenceListsearchAddress(javax.servlet.http.HttpServletRequest request, String labeladresse, String strArrondissement) fr.paris.lutece.util.ReferenceListsearchAddress(javax.servlet.http.HttpServletRequest request, String labeladresse, String strSRID, String strArrondissement) voidsetDateSearch(String strDateSearch) voidsetDefaultCity(String strDefaultCity) voidsetPassword(String password) voidsetTimeOut(String timeOut) voidvoidsetUserName(String userName)
-
Constructor Details
-
WebServiceAddressService
public WebServiceAddressService()
-
-
Method Details
-
getGeolocalisation
public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request, String addresse, String date, boolean bIsTest) throws RemoteException Finds the geolocalsation. UsesgetGeolocationRSID()as RSID.- Specified by:
getGeolocalisationin interfaceIAddressService- 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
public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request, long id, String addresse, String date, boolean bIsTest) throws RemoteException - Specified by:
getGeolocalisationin interfaceIAddressService- 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:
getAdresseInfoin interfaceIAddressService- 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:
searchAddressin interfaceIAddressService- 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:
searchAddressin interfaceIAddressService- Parameters:
request- Requestlabeladresse- the label adressstrArrondissement- Arrondissement- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException- the RemoteExecption- See Also:
-
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request, String labeladresse, String strSRID, String strArrondissement) throws RemoteException - Specified by:
searchAddressin interfaceIAddressService- Parameters:
strSRID- the srsidrequest- Requestlabeladresse- the label adressstrArrondissement- Arrondissement- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException- the RemoteExecption- See Also:
-
getDateSearch
- Returns:
- the date for parameter methodes of web service
-
setDateSearch
- Parameters:
strDateSearch- the new date search
-
getDefaultCity
- Returns:
- the default city for parameter methodes of web service
-
setDefaultCity
- Parameters:
strDefaultCity- the new default city
-
getUrlWS
- Returns:
- the url of the web service
-
setUrlWS
- Parameters:
strUrlWS- the new web service url
-
getPassword
- Returns:
- the password
-
setPassword
- Parameters:
password- the password
-
getUserName
- Returns:
- the user name
-
setUserName
- Parameters:
userName- the user name
-
getTimeOut
- Returns:
- the timeout
-
setTimeOut
- Parameters:
timeOut- the timeout
-