Exemplo n.º 1
0
 /**
  * Gets all buildings.
  *
  * @return the all buildings with floors
  */
 @RequestMapping(value = "/services/buildings", method = RequestMethod.GET)
 public List<BuildingTo> getAllBuildings() {
   return locationFloorService.getAllBuildings();
 }
Exemplo n.º 2
0
 /**
  * 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();
 }