public interface IWeatherService
| Modifier and Type | Method and Description |
|---|---|
SavedLocation |
addWeatherLocation(javax.portlet.PortletPreferences prefs,
java.lang.String locationCode,
java.lang.String location,
TemperatureUnit unit)
Adds a weather location.
|
void |
deleteWeatherLocation(javax.portlet.PortletPreferences prefs,
java.lang.String locationCode) |
java.util.Collection<Location> |
find(java.lang.String location) |
java.util.List<SavedLocation> |
getSavedLocations(javax.portlet.PortletPreferences prefs) |
Weather |
getWeather(java.lang.String locationCode,
TemperatureUnit unit) |
java.lang.String |
getWeatherProviderLink() |
java.lang.String |
getWeatherProviderName() |
void |
saveLocations(java.util.List<SavedLocation> savedLocations,
javax.portlet.PortletPreferences prefs) |
Weather getWeather(java.lang.String locationCode, TemperatureUnit unit)
java.util.Collection<Location> find(java.lang.String location)
SavedLocation addWeatherLocation(javax.portlet.PortletPreferences prefs, java.lang.String locationCode, java.lang.String location, TemperatureUnit unit)
prefs - portlet preferenceslocationCode - location codelocation - locationunit - temperatur unitDuplicateLocationException - If a location with the specified code already existsvoid deleteWeatherLocation(javax.portlet.PortletPreferences prefs,
java.lang.String locationCode)
java.util.List<SavedLocation> getSavedLocations(javax.portlet.PortletPreferences prefs)
void saveLocations(java.util.List<SavedLocation> savedLocations, javax.portlet.PortletPreferences prefs)
java.lang.String getWeatherProviderName()
java.lang.String getWeatherProviderLink()
Copyright © 2018 Jasig. All Rights Reserved.