Class DummyAddressService

java.lang.Object
fr.paris.lutece.plugins.address.service.DummyAddressService
All Implemented Interfaces:
IAddressService

public class DummyAddressService extends Object implements IAddressService
  • Constructor Details

    • DummyAddressService

      public DummyAddressService()
  • Method Details

    • searchAddress

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

      public fr.paris.lutece.util.ReferenceList searchAddress(javax.servlet.http.HttpServletRequest request, String labeladresse, String strArrondissement)
      Specified by:
      searchAddress in interface IAddressService
      Parameters:
      request - Request
      labeladresse - the label adress
      strArrondissement - Arrondissement
      Returns:
      the XML flux of all adress corresponding
    • getGeolocalisation

      public Adresse getGeolocalisation(javax.servlet.http.HttpServletRequest request, long id, String strAddress, String strDate, boolean bIsTest)
      Specified by:
      getGeolocalisation 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:
      RemoteException - the RemoteExecption
    • getAdresseInfo

      public Adresse getAdresseInfo(javax.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
    • 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
    • getGeolocalisation

      public Adresse getGeolocalisation(javax.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:
    • 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:
      request - Request
      labeladresse - the label adress
      strSRID - the srsid
      strArrondissement - Arrondissement
      Returns:
      the XML flux of all adress corresponding
      Throws:
      RemoteException - the RemoteExecption