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

    Modifier and Type
    Method
    Description
    This method returns a Menu Item.

    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 commons
      meal - meal of food item
      name - name of food item
      station - station of food item
      Returns:
      Optional of MenuItem