Package inha.git.team.domain.repository
Interface TeamJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Team,,Integer> org.springframework.data.jpa.repository.JpaRepository<Team,,Integer> org.springframework.data.repository.ListCrudRepository<Team,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Team,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Team,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Team>,org.springframework.data.repository.Repository<Team,Integer>
public interface TeamJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Team,Integer>
TeamJpaRepository는 Team 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByName(String teamName) findByIdAndState(Integer teamIdx, BaseEntity.State state) findByUserAndStateOrderByCreatedAtDesc(User user, BaseEntity.State state) 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
-
findByIdAndState
-
findByUserAndStateOrderByCreatedAtDesc
-
existsByName
-