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 Details

    • RestAddressService

      public RestAddressService()
  • Method Details

    • searchAddress

      public fr.paris.lutece.util.ReferenceList searchAddress(jakarta.servlet.http.HttpServletRequest request, String searchTerm)
      Specified by:
      searchAddress in interface IAddressService
      Parameters:
      request - Request
      searchTerm -
      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:
      searchAddress in interface IAddressService
      Parameters:
      request - Request
      term -
      strArrondissement - Arrondissement
      Returns:
      the XML flux of all adress corresponding
    • getGeolocalisation

      public Address getGeolocalisation(jakarta.servlet.http.HttpServletRequest request, String idAdr)
      Parameters:
      request - Request
      idAdr - 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:
      getGeolocalisation in interface IAddressService
      Parameters:
      request - Request
      idAdr - the adress id
      strAddress -
      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:
      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
    • searchAddress

      public fr.paris.lutece.util.ReferenceList searchAddress(jakarta.servlet.http.HttpServletRequest request, String labeladresse, String strSRID, String strArrondissement) throws RemoteException
      Specified by:
      searchAddress in interface IAddressService
      Parameters:
      request - Request
      labeladresse - the label adress
      strSRID - the srsid
      strArrondissement - 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: IAddressService
      Finds the geolocalsation. Uses a default 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:
      RemoteException - the RemoteExecption
      See Also:
      • WebServiceAddressService#getGeolocalisation(HttpServletRequest, String, String, boolean)
    • getSimpleName

      public String getSimpleName()
      Specified by:
      getSimpleName in interface IAddressService