Class AddressProviderImpl

java.lang.Object
ch.tocco.nice2.optional.address.impl.rest.services.AddressProviderImpl
All Implemented Interfaces:
AddressProvider

@Component public class AddressProviderImpl extends Object implements AddressProvider
  • Constructor Details

    • AddressProviderImpl

      public AddressProviderImpl(org.slf4j.Logger logger, RunEnvironmentService runEnvironmentService)
  • Method Details

    • setHttpRequest

      public void setHttpRequest(HttpRequest httpRequest)
    • getLocations

      public List<LocationBean> getLocations(LocationSearchBean locationSearchBean)
      Specified by:
      getLocations in interface AddressProvider
    • validate

      public LocationBean validate(LocationBean locationBean)
      Specified by:
      validate in interface AddressProvider
    • getAllLocations

      public List<LocationBean> getAllLocations()
      Specified by:
      getAllLocations in interface AddressProvider
    • setAddressProviderBaseUrl

      @Value("${nice2.web.locationService.addressProviderBaseUrl}") public void setAddressProviderBaseUrl(String addressProviderBaseUrl)
    • setAddressProviderVersion

      @Value("${nice2.web.locationService.addressProviderVersion}") public void setAddressProviderVersion(String addressProviderVersion)
    • setAddressProviderUsername

      @Value("${nice2.web.locationService.addressProviderUsername}") public void setAddressProviderUsername(String addressProviderUsername)
    • setAddressProviderPassword

      @Value("${nice2.web.locationService.addressProviderPassword}") public void setAddressProviderPassword(String addressProviderPassword)
    • setProvider

      @Value("${nice2.web.locationService.addressProviderProvider}") public void setProvider(String provider)
    • setProviderAuthToken

      @Value("${nice2.web.locationService.addressProviderProviderAuthToken}") public void setProviderAuthToken(String providerAuthToken)
    • setIncludeCoordinates

      @Value("${nice2.web.locationService.addressProviderIncludeCoordinates}") public void setIncludeCoordinates(boolean includeCoordinates)
    • setResultOperations

      @Autowired(required=false) public void setResultOperations(List<AddressProviderResultOperation> resultOperations)