Package se.bth.pulse.repository
Interface ReportRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Report,
,Integer> org.springframework.data.jpa.repository.JpaRepository<Report,
,Integer> org.springframework.data.repository.ListCrudRepository<Report,
,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Report,
,Integer> org.springframework.data.repository.PagingAndSortingRepository<Report,
,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Report>
,org.springframework.data.repository.Repository<Report,
Integer>
public interface ReportRepository
extends org.springframework.data.jpa.repository.JpaRepository<Report,Integer>
This interface is used to interact with the table Project. Using JpaRepository we can perform
CRUD operations. We can also define custom methods here with querys.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByProject
(Project project) findAllByProjectUsersIn
(List<User> users) findByIdAndProjectUsersIn
(Integer id, List<User> users) getSingleByProjectOrderByDueDate
(Project project) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByProjectUsersIn
-
findByIdAndProjectUsersIn
-
deleteAllByProject
-
getSingleByProjectOrderByDueDate
-