Interface GameRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Game,Long>,org.springframework.data.jpa.repository.JpaRepository<Game,Long>,org.springframework.data.repository.PagingAndSortingRepository<Game,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<Game>,org.springframework.data.repository.Repository<Game,Long>
public interface GameRepository extends org.springframework.data.jpa.repository.JpaRepository<Game,Long>
Spring Data JPA repository for the Game entity.
-
Method Summary
Modifier and Type Method Description List<Game>findByAssociatedFile(File file)List<Game>findByNameAndType(String login, String name, GameType type)List<Game>findByNameAndType(String name, GameType type)List<Game>findByOwnerIsCurrentUser()List<Game>findByOwnerIsCurrentUserOrShared()List<Game>findByOwnerIsCurrentUserOrShared(String login)Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush