org.jasig.portlet.weather.service
Class WeatherServiceImpl

java.lang.Object
  extended by org.jasig.portlet.weather.service.AbstractWeatherService
      extended by org.jasig.portlet.weather.service.WeatherServiceImpl
All Implemented Interfaces:
IWeatherService

@Service
public class WeatherServiceImpl
extends AbstractWeatherService

This service class completes the implementation of IWeatherService and makes calls to IWeatherDao to retrieve weather information and find locations.

Version:
$Id: WeatherServiceImpl.java 46929 2009-10-19 22:54:31Z edalquist $
Author:
Dustin Schultz

Constructor Summary
WeatherServiceImpl()
           
 
Method Summary
 java.util.Collection<Location> find(java.lang.String location)
           
 Weather getWeather(java.lang.String locationCode, TemperatureUnit unit)
           
 void setWeatherDao(IWeatherDao weatherDao)
           
 
Methods inherited from class org.jasig.portlet.weather.service.AbstractWeatherService
addWeatherLocation, deleteWeatherLocation, getSavedLocations, saveLocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherServiceImpl

public WeatherServiceImpl()
Method Detail

find

public java.util.Collection<Location> find(java.lang.String location)

getWeather

public Weather getWeather(java.lang.String locationCode,
                          TemperatureUnit unit)

setWeatherDao

public void setWeatherDao(IWeatherDao weatherDao)


Copyright © 2009 Jasig. All Rights Reserved.