Class CarsController
java.lang.Object
net.andresbustamante.yafoot.commons.web.controllers.AbstractController
net.andresbustamante.yafoot.core.web.controllers.CarsController
- All Implemented Interfaces:
CarsApi
-
Field Summary
Fields inherited from class net.andresbustamante.yafoot.commons.web.controllers.AbstractController
DATABASE_BASIC_ERROR, UNAUTHORISED_USER_ERROR -
Constructor Summary
ConstructorsConstructorDescriptionCarsController(CarSearchService carSearchService, CarManagementService carManagementService, CarMapper carMapper) -
Method Summary
Methods inherited from class net.andresbustamante.yafoot.commons.web.controllers.AbstractController
getLocationURI, getObjectMapper, getRequest, getUserContext, handleConstraintViolationException, translateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.andresbustamante.yafoot.core.web.controllers.CarsApi
getObjectMapper, getRequest
-
Constructor Details
-
CarsController
public CarsController(CarSearchService carSearchService, CarManagementService carManagementService, CarMapper carMapper)
-
-
Method Details
-
loadCars
-
loadCar
-
addNewCar
-
updateCar
-
deactivateCar
- Specified by:
deactivateCarin interfaceCarsApi
-