Uses of Class
edu.ucsb.cs156.dining.entities.Restaurant
Packages that use Restaurant
-
Uses of Restaurant in edu.ucsb.cs156.dining.controllers
Methods in edu.ucsb.cs156.dining.controllers that return RestaurantModifier and TypeMethodDescriptionThis method returns a single restaurant.RestaurantsController.postRestaurant
(String name, String description) This method creates a new restaurant.RestaurantsController.updateRestaurant
(Long id, @Valid Restaurant incoming) Update a single restaurant.Methods in edu.ucsb.cs156.dining.controllers that return types with arguments of type RestaurantModifier and TypeMethodDescriptionRestaurantsController.allRestaurants()
This method returns a list of all restaurants.Methods in edu.ucsb.cs156.dining.controllers with parameters of type RestaurantModifier and TypeMethodDescriptionRestaurantsController.updateRestaurant
(Long id, @Valid Restaurant incoming) Update a single restaurant.