Package balu.pizza.webapp.repositiries
Interface TypesRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TypeIngredient,,Integer> org.springframework.data.jpa.repository.JpaRepository<TypeIngredient,,Integer> org.springframework.data.repository.PagingAndSortingRepository<TypeIngredient,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<TypeIngredient>,org.springframework.data.repository.Repository<TypeIngredient,Integer>
@Repository
public interface TypesRepository
extends org.springframework.data.jpa.repository.JpaRepository<TypeIngredient,Integer>
Type of Ingredient Repository
-
Method Summary
Modifier and TypeMethodDescriptionfindByName(String name) Search for a Type of Ingredient by nameMethods 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, getReferenceById, 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
-
findByName
Search for a Type of Ingredient by name- Parameters:
name- Ingredient name- Returns:
- An object that may contain a Type of Ingredient or be empty
-