Class RestAddressService
java.lang.Object
fr.paris.lutece.plugins.address.service.RestAddressService
- All Implemented Interfaces:
IAddressService
@ApplicationScoped
@Alternative
public class RestAddressService
extends Object
implements IAddressService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdresseInfo(jakarta.servlet.http.HttpServletRequest request, long id, boolean bIsTest) getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, long idAdr, String strAddress, String strDate, boolean bIsTest) getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, String idAdr) getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, String addresse, String date, boolean bIsTest) Finds the geolocalsation.fr.paris.lutece.util.ReferenceListsearchAddress(jakarta.servlet.http.HttpServletRequest request, String searchTerm) fr.paris.lutece.util.ReferenceListsearchAddress(jakarta.servlet.http.HttpServletRequest request, String term, String strArrondissement) fr.paris.lutece.util.ReferenceListsearchAddress(jakarta.servlet.http.HttpServletRequest request, String labeladresse, String strSRID, String strArrondissement)
-
Constructor Details
-
RestAddressService
public RestAddressService()
-
-
Method Details
-
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(jakarta.servlet.http.HttpServletRequest request, String searchTerm) - Specified by:
searchAddressin interfaceIAddressService- Parameters:
request- RequestsearchTerm-- Returns:
- the XML flux of all adress corresponding
-
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(jakarta.servlet.http.HttpServletRequest request, String term, String strArrondissement) - Specified by:
searchAddressin interfaceIAddressService- Parameters:
request- Requestterm-strArrondissement- Arrondissement- Returns:
- the XML flux of all adress corresponding
-
getGeolocalisation
- Parameters:
request- RequestidAdr- the adress id- Returns:
- the XML flux of an adress
-
getGeolocalisation
public Address getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, long idAdr, String strAddress, String strDate, boolean bIsTest) - Specified by:
getGeolocalisationin interfaceIAddressService- Parameters:
request- RequestidAdr- the adress idstrAddress-strDate-bIsTest- if true test connect at web service, if false search an adress- Returns:
- the XML flux of an adress
-
getAdresseInfo
public Address getAdresseInfo(jakarta.servlet.http.HttpServletRequest request, long id, boolean bIsTest) - 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
-
searchAddress
public fr.paris.lutece.util.ReferenceList searchAddress(jakarta.servlet.http.HttpServletRequest request, String labeladresse, String strSRID, String strArrondissement) throws RemoteException - Specified by:
searchAddressin interfaceIAddressService- Parameters:
request- Requestlabeladresse- the label adressstrSRID- the srsidstrArrondissement- Arrondissement- Returns:
- the XML flux of all adress corresponding
- Throws:
RemoteException- the RemoteExecption
-
getGeolocalisation
public Address getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, String addresse, String date, boolean bIsTest) throws RemoteException Description copied from interface:IAddressServiceFinds the geolocalsation. Uses a default 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:
-
WebServiceAddressService#getGeolocalisation(HttpServletRequest, String, String, boolean)
-
getSimpleName
- Specified by:
getSimpleNamein interfaceIAddressService
-