Package com.chess.backend.repository
Class GameRepository
java.lang.Object
com.chess.backend.repository.GameRepository
- All Implemented Interfaces:
IGameRepository
@Service
@Qualifier("GameRepositoryClass")
public class GameRepository
extends Object
implements IGameRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateNewGame(Integer gameId, ChessGame game) voidcreateNewGame(Integer gameId, ChessGame game, List<EventObject> events) voidupdateGame(Integer gameId, ChessGame game) voidupdateGame(Integer gameId, ChessGame game, List<EventObject> events)
-
Constructor Details
-
GameRepository
public GameRepository()
-
-
Method Details
-
getGame
- Specified by:
getGamein interfaceIGameRepository
-
updateGame
- Specified by:
updateGamein interfaceIGameRepository
-
updateGame
- Specified by:
updateGamein interfaceIGameRepository
-
createNewGame
- Specified by:
createNewGamein interfaceIGameRepository
-
createNewGame
- Specified by:
createNewGamein interfaceIGameRepository
-