SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.repository.GameRepository Interface Reference

Repository interface for Game entities. More...

Inheritance diagram for fr.softsf.sudokufx.repository.GameRepository:
Collaboration diagram for fr.softsf.sudokufx.repository.GameRepository:

Public Member Functions

List< GamefindAllUnselected (@Param("playerId") long playerId, Sort sort)
 Retrieves all non-selected games for a specific player.

Detailed Description

Repository interface for Game entities.

Provides standard CRUD operations and query methods for Game objects using Spring Data JPA.

The primary key of Game is of type Long.

Member Function Documentation

◆ findAllUnselected()

List< Game > fr.softsf.sudokufx.repository.GameRepository.findAllUnselected ( @Param("playerId") long playerId,
Sort sort )

Retrieves all non-selected games for a specific player.

Uses JOIN FETCH to eagerly load the associated Player entity, minimizing N+1 performance overhead.

Parameters
playerIdthe unique identifier of the target player
sortsorting criteria for the resulting game list
Returns
a list of filtered games matching the selection criteria
Here is the call graph for this function:

The documentation for this interface was generated from the following file: