Uses of Class
net.andresbustamante.yafoot.core.model.Car
Packages that use Car
Package
Description
MyBatis DAO interfaces for the core module.
Core services API.
Service implementations for the core API.
Mapstruct mappers for the Web core app.
-
Uses of Car in net.andresbustamante.yafoot.core.dao
Methods in net.andresbustamante.yafoot.core.dao that return CarModifier and TypeMethodDescriptionCarDao.findCarById
(Integer id) Loads a car details from database.Methods in net.andresbustamante.yafoot.core.dao that return types with arguments of type CarModifier and TypeMethodDescriptionCarDao.findCarsByMatch
(Match match) Returs the list of cars registered by players for a given match.CarDao.findCarsByPlayer
(Player player) Loads the list of cars that a player has registered in database.Methods in net.andresbustamante.yafoot.core.dao with parameters of type CarModifier and TypeMethodDescriptionint
CarDao.deactivateCar
(Car car) Deactivates a given car.MatchDao.findPassengerRegistrationsByCar
(Match match, Car car) Finds the list of passenger registrations for a given car.boolean
CarDao.isCarUsedForComingMatches
(Car car) Finds whether a car is being used for a coming match.int
MatchDao.registerPlayer
(Player player, Match match, Car car, Boolean isCarConfirmed) Registers a player to an existing match.int
Creates the car used in parameter into the database.int
Updates a given car.int
MatchDao.updateCarForRegistration
(Match match, Player player, Car car, boolean isCarConfirmed) Updates and confirms a car for a player registered into a match. -
Uses of Car in net.andresbustamante.yafoot.core.services
Methods in net.andresbustamante.yafoot.core.services that return CarModifier and TypeMethodDescriptionCarSearchService.loadCar
(Integer id, UserContext ctx) Loads the details of a car from its unique identifier.Methods in net.andresbustamante.yafoot.core.services that return types with arguments of type CarModifier and TypeMethodDescriptionCarpoolingService.findAvailableCarsByMatch
(Match match) Finds the list of cars available to carpool for a given match.CarSearchService.findCars
(UserContext ctx) Load the list of cars saved by a user.Methods in net.andresbustamante.yafoot.core.services with parameters of type CarModifier and TypeMethodDescriptionvoid
CarManagementService.deactivateCar
(Car car, UserContext ctx) Deactivates a given car.void
CarpoolingService.processCarSeatRequest
(Match match, Player player, Car car, UserContext ctx) If the carpooling feature is enabled for the input match, it sends an email message asking for a place to the driver of the input car for this match.void
CarpoolingService.processTransportationChange
(Match match, Car oldCar, Car newCar, UserContext ctx) If a player changes of transportation it updates the carpooling options for passengers previously confirmed.void
MatchManagementService.registerPlayer
(Player player, Match match, Car car, UserContext userContext) Register a player to an existing match.CarManagementService.saveCar
(Car car, UserContext ctx) Registers a new car in the database.void
CarManagementService.updateCar
(Integer carId, Car updatedCar, UserContext ctx) Updates the car with the given ID.void
CarpoolingService.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) Update the car used for a registration. -
Uses of Car in net.andresbustamante.yafoot.core.services.impl
Methods in net.andresbustamante.yafoot.core.services.impl that return CarMethods in net.andresbustamante.yafoot.core.services.impl that return types with arguments of type CarModifier and TypeMethodDescriptionCarpoolingServiceImpl.findAvailableCarsByMatch
(Match match) CarSearchServiceImpl.findCars
(UserContext ctx) Methods in net.andresbustamante.yafoot.core.services.impl with parameters of type CarModifier and TypeMethodDescriptionvoid
CarManagementServiceImpl.deactivateCar
(Car car, UserContext ctx) void
CarpoolingServiceImpl.processCarSeatRequest
(Match match, Player player, Car car, UserContext ctx) void
CarpoolingServiceImpl.processTransportationChange
(Match match, Car oldCar, Car newCar, UserContext ctx) void
MatchManagementServiceImpl.registerPlayer
(Player player, Match match, Car car, UserContext userContext) CarManagementServiceImpl.saveCar
(Car car, UserContext ctx) void
CarManagementServiceImpl.updateCar
(Integer carId, Car updatedCar, UserContext ctx) void
CarpoolingServiceImpl.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) -
Uses of Car in net.andresbustamante.yafoot.core.web.mappers
Methods in net.andresbustamante.yafoot.core.web.mappers that return CarModifier and TypeMethodDescriptionMaps a DTO into a car bean.Methods in net.andresbustamante.yafoot.core.web.mappers with parameters of type CarModifier and TypeMethodDescriptionMaps a car bean into a DTO.Method parameters in net.andresbustamante.yafoot.core.web.mappers with type arguments of type Car