Package com.bytedesk.liangshibao.course
Interface CourseRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Course,,Long> org.springframework.data.jpa.repository.JpaRepository<Course,,Long> org.springframework.data.repository.ListCrudRepository<Course,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Course,,Long> org.springframework.data.repository.PagingAndSortingRepository<Course,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Course>,org.springframework.data.repository.Repository<Course,Long>
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Course>findAllByDeleted(Boolean deleted, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<Course>findAllByUserAndDeleted(UserEntity user, Boolean deleted, org.springframework.data.domain.Pageable pageable) 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
-
findByUid
-
findAllByDeleted
-
findAllByUserAndDeleted
org.springframework.data.domain.Page<Course> findAllByUserAndDeleted(UserEntity user, Boolean deleted, org.springframework.data.domain.Pageable pageable)
-