Interface RicercaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Ricerca,,Long> org.springframework.data.jpa.repository.JpaRepository<Ricerca,,Long> org.springframework.data.repository.ListCrudRepository<Ricerca,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Ricerca,,Long> org.springframework.data.repository.PagingAndSortingRepository<Ricerca,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Ricerca>,org.springframework.data.repository.Repository<Ricerca,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByIdRicerca(Long idRicerca) Query per trovare una Ricerca tramite il suo id.findByIdRicercaAndIdUtente(long idRicerca, long idUtente) Query per trovare una Ricerca fatta da un utente.findByIdUtente(Long idUtente) Query per trovare la lista delle ricerche di un utente.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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods 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
-
findByIdRicerca
Query per trovare una Ricerca tramite il suo id.- Parameters:
idRicerca- Id della Ricerca- Returns:
- Ricerca
-
findByIdUtente
Query per trovare la lista delle ricerche di un utente.- Parameters:
idUtente- Id dell' Utente- Returns:
- Lista di ricerche
-
findByIdRicercaAndIdUtente
Query per trovare una Ricerca fatta da un utente.- Parameters:
idRicerca- Id della RicercaidUtente- Id dell' Utente- Returns:
- Ricerca
-