/** * Gets all buildings. * * @return the all buildings with floors */ @RequestMapping(value = "/services/buildings", method = RequestMethod.GET) public List<BuildingTo> getAllBuildings() { return locationFloorService.getAllBuildings(); }
/** * Provides available buildings and floors * * @return unmodifiable list of available buildings and floors */ @RequestMapping(value = "/services/locationfloor", method = RequestMethod.GET) public List<LocationFloorTo> getAvailableFloors() { return locationFloorService.getAllAvailableFloors(); }