Class AddressProviderImpl
java.lang.Object
ch.tocco.nice2.optional.address.impl.rest.services.AddressProviderImpl
- All Implemented Interfaces:
AddressProvider
-
Constructor Summary
ConstructorDescriptionAddressProviderImpl
(org.slf4j.Logger logger, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptiongetLocations
(LocationSearchBean locationSearchBean) void
setAddressProviderBaseUrl
(String addressProviderBaseUrl) void
setAddressProviderPassword
(String addressProviderPassword) void
setAddressProviderUsername
(String addressProviderUsername) void
setAddressProviderVersion
(String addressProviderVersion) void
setHttpRequest
(HttpRequest httpRequest) void
setIncludeCoordinates
(boolean includeCoordinates) void
setProvider
(String provider) void
setProviderAuthToken
(String providerAuthToken) void
setResultOperations
(List<AddressProviderResultOperation> resultOperations) validate
(LocationBean locationBean)
-
Constructor Details
-
AddressProviderImpl
-
-
Method Details
-
setHttpRequest
-
getLocations
- Specified by:
getLocations
in interfaceAddressProvider
-
validate
- Specified by:
validate
in interfaceAddressProvider
-
getAllLocations
- Specified by:
getAllLocations
in interfaceAddressProvider
-
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)
-