public abstract class AbstractWeatherService extends Object implements IWeatherService
| Constructor and Description |
|---|
AbstractWeatherService() |
| Modifier and Type | Method and Description |
|---|---|
SavedLocation |
addWeatherLocation(javax.portlet.PortletPreferences prefs,
String locationCode,
String location,
TemperatureUnit unit)
Adds a weather location.
|
void |
deleteWeatherLocation(javax.portlet.PortletPreferences prefs,
String locationCode) |
List<SavedLocation> |
getSavedLocations(javax.portlet.PortletPreferences prefs) |
void |
saveLocations(List<SavedLocation> savedLocations,
javax.portlet.PortletPreferences prefs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfind, getWeather, getWeatherProviderLink, getWeatherProviderNamepublic List<SavedLocation> getSavedLocations(javax.portlet.PortletPreferences prefs)
getSavedLocations in interface IWeatherServicepublic void saveLocations(List<SavedLocation> savedLocations, javax.portlet.PortletPreferences prefs)
saveLocations in interface IWeatherServicepublic SavedLocation addWeatherLocation(javax.portlet.PortletPreferences prefs, String locationCode, String location, TemperatureUnit unit)
IWeatherServiceaddWeatherLocation in interface IWeatherServiceprefs - portlet preferenceslocationCode - location codelocation - locationunit - temperatur unitpublic void deleteWeatherLocation(javax.portlet.PortletPreferences prefs,
String locationCode)
deleteWeatherLocation in interface IWeatherServiceCopyright © 2015 Jasig. All Rights Reserved.