Package com.cis.gorecipe.repository
Interface RecipeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Recipe,Long>,org.springframework.data.jpa.repository.JpaRepository<Recipe,Long>,org.springframework.data.repository.PagingAndSortingRepository<Recipe,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<Recipe>,org.springframework.data.repository.Repository<Recipe,Long>
public interface RecipeRepository
extends org.springframework.data.jpa.repository.JpaRepository<Recipe,Long>
This interface provides a way to use JPA to interface with the GoRecipe database to manage Recipes
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByName(String name)booleanexistsBySpoonacularId(Long spoonacularId)findAllByNameIn(Iterable<String> names)findRecipeBySpoonacularId(Long spoonacularId)Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
existsBySpoonacularId
-
findRecipeBySpoonacularId
-
existsByName
-
findAllByNameIn
-