Interface PlayRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Play,​java.lang.Integer>, org.springframework.data.repository.Repository<Play,​java.lang.Integer>

    @Repository
    public interface PlayRepository
    extends org.springframework.data.repository.CrudRepository<Play,​java.lang.Integer>
    • Method Detail

      • getAllByGameAndPlayerAndTurn

        java.util.Optional<java.util.List<Play>> getAllByGameAndPlayerAndTurn​(Game game,
                                                                              Player player,
                                                                              Turn turn)
      • getAllByTurn

        java.util.Optional<java.util.List<Play>> getAllByTurn​(Turn turn)
      • getAllByGameAndTurn

        java.util.Optional<java.util.List<Play>> getAllByGameAndTurn​(Game game,
                                                                     Turn previousTurn)
      • getAllByTurnAndType

        java.util.Optional<java.util.List<Play>> getAllByTurnAndType​(Turn turn,
                                                                     Play.Type type)