Interface MenuItemRepository
- All Superinterfaces:
 org.springframework.data.repository.CrudRepository<MenuItem,,Long> org.springframework.data.repository.Repository<MenuItem,Long> 
@Repository
public interface MenuItemRepository
extends org.springframework.data.repository.CrudRepository<MenuItem,Long> 
The UserRepository is a repository for User entities.
- 
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll 
- 
Method Details
- 
findFirstByDiningCommonsCodeAndMealAndNameAndStation
Optional<MenuItem> findFirstByDiningCommonsCodeAndMealAndNameAndStation(String diningCommonsCode, String meal, String name, String station) This method returns a Menu Item.- Parameters:
 diningCommonsCode- code of dining commonsmeal- meal of food itemname- name of food itemstation- station of food item- Returns:
 - Optional of MenuItem
 
 
 -