Package balu.pizza.webapp.repositiries
Interface CafeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Cafe,,Integer> org.springframework.data.jpa.repository.JpaRepository<Cafe,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Cafe,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Cafe>,org.springframework.data.repository.Repository<Cafe,Integer>
@Service
public interface CafeRepository
extends org.springframework.data.jpa.repository.JpaRepository<Cafe,Integer>
Repository for Entity Cafe
-
Method Summary
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, 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
-
findById
Search cafe by ID- Parameters:
cafeId-- Returns:
- An object that may contain a Cafe or be empty
-