Package com.myhrcrmproject.repository
Interface ContractRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Contract,,Integer> org.springframework.data.jpa.repository.JpaRepository<Contract,,Integer> org.springframework.data.repository.ListCrudRepository<Contract,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Contract,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Contract,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Contract>,org.springframework.data.repository.Repository<Contract,Integer>
-
Method Summary
Modifier and TypeMethodDescriptionfindByCandidate(Candidate candidate) findByClient(Client client) findByEmployee(Employee employee) findByStartDateBeforeAndEndDateAfter(LocalDate startDate, LocalDate endDate) 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
-
findAllByContractType
-
findByEmployee
-
findByClient
-
findByCandidate
-
findByStartDateBeforeAndEndDateAfter
-