Interface MealRepository

All Superinterfaces:
CrudRepository<@Valid Meal,Long>, GenericRepository<Meal,Long>

public interface MealRepository extends CrudRepository<@Valid Meal,Long>
  • Method Details

    • searchById

      @Nullable @Nullable Meal searchById(Long uuid)
    • findByIdForUpdate

      Meal findByIdForUpdate(Long id)
    • searchByIdForUpdate

      Meal searchByIdForUpdate(Long id)
    • findAllForUpdate

      Iterable<Meal> findAllForUpdate()
    • findAllByCurrentBloodGlucoseLessThan

      Iterable<Meal> findAllByCurrentBloodGlucoseLessThan(int currentBloodGlucose)
    • findAllByCurrentBloodGlucoseLessThanForUpdate

      Iterable<Meal> findAllByCurrentBloodGlucoseLessThanForUpdate(int currentBloodGlucose)
    • findByFoodsPortionGramsGreaterThan

      Iterable<Meal> findByFoodsPortionGramsGreaterThan(int portionGrams)
    • findByFoodsPortionGramsGreaterThanForUpdate

      Iterable<Meal> findByFoodsPortionGramsGreaterThanForUpdate(int portionGrams)