org.onebusaway.presentation.impl
Class ServiceAreaServiceImpl

java.lang.Object
  extended by org.onebusaway.presentation.impl.ServiceAreaServiceImpl
All Implemented Interfaces:
ServiceAreaService

@Component
public class ServiceAreaServiceImpl
extends Object
implements ServiceAreaService


Constructor Summary
ServiceAreaServiceImpl()
           
 
Method Summary
 CoordinateBounds getDefaultBounds()
           
 double getSearchRadius()
           
 CoordinateBounds getServiceArea()
           
 boolean hasDefaultServiceArea()
          ServiceAreaService
 void setCalculateDefaultBoundsFromAgencyCoverage(boolean calculateDefaultBoundsFromAgencyCoverage)
           
 void setDefaultBounds(CoordinateBounds bounds)
           
 void setDefaultSearchLocationService(DefaultSearchLocationService defaultSearchLocationService)
           
 void setSearchRadius(double searchRadius)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAreaServiceImpl

public ServiceAreaServiceImpl()
Method Detail

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

setDefaultSearchLocationService

public void setDefaultSearchLocationService(DefaultSearchLocationService defaultSearchLocationService)

getSearchRadius

public double getSearchRadius()

setSearchRadius

public void setSearchRadius(double searchRadius)

getDefaultBounds

public CoordinateBounds getDefaultBounds()

setDefaultBounds

public void setDefaultBounds(CoordinateBounds bounds)

setCalculateDefaultBoundsFromAgencyCoverage

public void setCalculateDefaultBoundsFromAgencyCoverage(boolean calculateDefaultBoundsFromAgencyCoverage)

setup

@PostConstruct
public void setup()

hasDefaultServiceArea

public boolean hasDefaultServiceArea()
ServiceAreaService

Specified by:
hasDefaultServiceArea in interface ServiceAreaService

getServiceArea

public CoordinateBounds getServiceArea()
Specified by:
getServiceArea in interface ServiceAreaService


Copyright © 2012 OneBusAway. All Rights Reserved.