Uses of Class
net.andresbustamante.yafoot.core.model.Match
Packages that use Match
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 Match in net.andresbustamante.yafoot.core.dao
Methods in net.andresbustamante.yafoot.core.dao that return MatchModifier and TypeMethodDescriptionMatchDao.findMatchByCode
(String code) Loads a match and its details by using its unique code.MatchDao.findMatchById
(Integer id) Loads a match and its details by using its unique numeric identifier.Methods in net.andresbustamante.yafoot.core.dao that return types with arguments of type MatchModifier and TypeMethodDescriptionMatchDao.findMatchesByPlayer
(Player player, SportEnum sport, MatchStatusEnum status, LocalDateTime startDate, LocalDateTime endDate) Find the list of matches associated to a player by optionally using a date interval.Methods in net.andresbustamante.yafoot.core.dao with parameters of type MatchModifier and TypeMethodDescriptionCarDao.findCarsByMatch
(Match match) Returs the list of cars registered by players for a given match.MatchDao.findPassengerRegistrationsByCar
(Match match, Car car) Finds the list of passenger registrations for a given car.boolean
MatchDao.isPlayerRegistered
(Player player, Match match) Checks if a player is already registered to a match.MatchDao.loadRegistration
(Match match, Player player) Loads registration details for a player in a specific match.int
MatchDao.registerPlayer
(Player player, Match match, Car car, Boolean isCarConfirmed) Registers a player to an existing match.int
MatchDao.resetCarDetails
(Match match, Player player) Resets car details for a player registration in a given match.void
Creates a match on database.void
MatchDao.unregisterPlayer
(Player player, Match match) Unregisters a player from a match.int
MatchDao.updateCarForRegistration
(Match match, Player player, Car car, boolean isCarConfirmed) Updates and confirms a car for a player registered into a match.void
MatchDao.updateMatchStatus
(Match match) Update a match with new status details. -
Uses of Match in net.andresbustamante.yafoot.core.services
Methods in net.andresbustamante.yafoot.core.services that return MatchModifier and TypeMethodDescriptionMatchSearchService.findMatchByCode
(String code) Find a match by its identifying code.Methods in net.andresbustamante.yafoot.core.services that return types with arguments of type MatchModifier and TypeMethodDescriptionMatchSearchService.findMatches
(MatchStatusEnum status, SportEnum sport, LocalDate startDate, LocalDate endDate, UserContext ctx) Find the matches where a player is attending in an interval of time.Methods in net.andresbustamante.yafoot.core.services with parameters of type MatchModifier and TypeMethodDescriptionvoid
MatchManagementService.cancelMatch
(Match match, UserContext userContext) Cancels a match by a logical suppression in database.CarpoolingService.findAvailableCarsByMatch
(Match match) Finds the list of cars available to carpool for a given match.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.MatchManagementService.saveMatch
(Match match, UserContext userContext) Create a new match in database.void
MatchManagementService.unregisterPlayer
(Player player, Match match, UserContext userContext) Unregister a player from a match.void
CarpoolingService.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) Update the car used for a registration. -
Uses of Match in net.andresbustamante.yafoot.core.services.impl
Methods in net.andresbustamante.yafoot.core.services.impl that return MatchMethods in net.andresbustamante.yafoot.core.services.impl that return types with arguments of type MatchModifier and TypeMethodDescriptionMatchSearchServiceImpl.findMatches
(MatchStatusEnum status, SportEnum sport, LocalDate startDate, LocalDate endDate, UserContext ctx) Methods in net.andresbustamante.yafoot.core.services.impl with parameters of type MatchModifier and TypeMethodDescriptionvoid
MatchManagementServiceImpl.cancelMatch
(Match match, UserContext userContext) CarpoolingServiceImpl.findAvailableCarsByMatch
(Match match) 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) MatchManagementServiceImpl.saveMatch
(Match match, UserContext userContext) void
MatchManagementServiceImpl.unregisterPlayer
(Player player, Match match, UserContext ctx) void
CarpoolingServiceImpl.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) -
Uses of Match in net.andresbustamante.yafoot.core.web.mappers
Methods in net.andresbustamante.yafoot.core.web.mappers that return MatchModifier and TypeMethodDescriptionMethods in net.andresbustamante.yafoot.core.web.mappers with parameters of type MatchModifier and TypeMethodDescriptionBean to DTO mapping for a match object.Method parameters in net.andresbustamante.yafoot.core.web.mappers with type arguments of type Match