コード例 #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();
 }
コード例 #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();
 }