Class PlayersController

java.lang.Object
net.andresbustamante.yafoot.commons.web.controllers.AbstractController
net.andresbustamante.yafoot.core.web.controllers.PlayersController
All Implemented Interfaces:
PlayersApi

@RestController public class PlayersController extends net.andresbustamante.yafoot.commons.web.controllers.AbstractController implements PlayersApi
REST Controller to manage operations on players.
Author:
andresbustamante
  • Field Summary

    Fields inherited from class net.andresbustamante.yafoot.commons.web.controllers.AbstractController

    DATABASE_BASIC_ERROR, UNAUTHORISED_USER_ERROR

    Fields inherited from interface net.andresbustamante.yafoot.core.web.controllers.PlayersApi

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayersController(net.andresbustamante.yafoot.core.services.PlayerManagementService playerManagementService, net.andresbustamante.yafoot.core.services.PlayerSearchService playerSearchService, PlayerMapper playerMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<Void>
     
    org.springframework.http.ResponseEntity<List<Player>>
     
    org.springframework.http.ResponseEntity<Player>
     
    org.springframework.http.ResponseEntity<Void>
     

    Methods inherited from class net.andresbustamante.yafoot.commons.web.controllers.AbstractController

    getLocationURI, getObjectMapper, getRequest, getUserContext, handleConstraintViolationException, translate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.andresbustamante.yafoot.core.web.controllers.PlayersApi

    getObjectMapper, getRequest
  • Constructor Details

    • PlayersController

      public PlayersController(net.andresbustamante.yafoot.core.services.PlayerManagementService playerManagementService, net.andresbustamante.yafoot.core.services.PlayerSearchService playerSearchService, PlayerMapper playerMapper)
  • Method Details