Uses of Class
net.andresbustamante.yafoot.core.model.Player
Packages that use Player
Package
Description
MyBatis DAO interfaces for the core module.
Model classes for the core module.
Core services API.
Service implementations for the core API.
Mapstruct mappers for the Web core app.
-
Uses of Player in net.andresbustamante.yafoot.core.dao
Methods in net.andresbustamante.yafoot.core.dao that return PlayerModifier and TypeMethodDescriptionPlayerDao.findPlayerByEmail
(String email) Loads a player by using his/her email address.PlayerDao.findPlayerById
(Integer playerId) Looks for a player in the database using a technical identifier.Methods in net.andresbustamante.yafoot.core.dao with parameters of type PlayerModifier and TypeMethodDescriptionint
CarDao.deactivateCarsByPlayer
(Player player) Deactivates all the cars registered by a player.int
PlayerDao.deactivatePlayer
(Player player) Logical deactivation for a player in database.int
PlayerDao.deletePlayer
(Player player) Physically deletes a player from the database.CarDao.findCarsByPlayer
(Player player) Loads the list of cars that a player has registered in database.MatchDao.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.SiteDao.findSitesByPlayer
(Player player) Looks for the sites related to a player.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.int
PlayerDao.savePlayer
(Player player) Creates a player in the database.int
Creates a site in database.void
MatchDao.unregisterPlayer
(Player player, Match match) Unregisters a player from a match.int
MatchDao.unregisterPlayerFromAllMatches
(Player player) Unregisters a player from all the matches where he/her was registered even past matches.int
MatchDao.updateCarForRegistration
(Match match, Player player, Car car, boolean isCarConfirmed) Updates and confirms a car for a player registered into a match.int
PlayerDao.updatePlayer
(Player player) Updates player's details in database. -
Uses of Player in net.andresbustamante.yafoot.core.model
Methods in net.andresbustamante.yafoot.core.model with parameters of type PlayerModifier and TypeMethodDescriptionboolean
Match.isPlayerRegistered
(Player player) Indicates whether a player is registered on the current match. -
Uses of Player in net.andresbustamante.yafoot.core.services
Methods in net.andresbustamante.yafoot.core.services that return PlayerModifier and TypeMethodDescriptionPlayerSearchService.findPlayerByEmail
(String email, UserContext context) Look for a player by using its email address (unique).PlayerSearchService.findPlayerById
(Integer id) Look for a player by using its technical identifier.Methods in net.andresbustamante.yafoot.core.services with parameters of type PlayerModifier and TypeMethodDescriptionvoid
CarManagementService.deactivateCarsByPlayer
(Player player, UserContext ctx) Deactivates all the cars registered by a player.void
PlayerManagementService.deactivatePlayer
(Player player, UserContext userContext) Deactivates a player and deletes his/her history in the application.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
MatchManagementService.registerPlayer
(Player player, Match match, Car car, UserContext userContext) Register a player to an existing match.PlayerManagementService.savePlayer
(Player player, UserContext userContext) Creates a new player in the application.void
MatchManagementService.unregisterPlayer
(Player player, Match match, UserContext userContext) Unregister a player from a match.void
MatchManagementService.unregisterPlayerFromAllMatches
(Player player, UserContext userContext) Unregister a player from all matches.void
CarpoolingService.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) Update the car used for a registration.void
PlayerManagementService.updatePlayer
(Player player, UserContext userContext) Updates basic details for a player. -
Uses of Player in net.andresbustamante.yafoot.core.services.impl
Methods in net.andresbustamante.yafoot.core.services.impl that return PlayerModifier and TypeMethodDescriptionPlayerSearchServiceImpl.findPlayerByEmail
(String email, UserContext context) PlayerSearchServiceImpl.findPlayerById
(Integer id) Methods in net.andresbustamante.yafoot.core.services.impl with parameters of type PlayerModifier and TypeMethodDescriptionvoid
CarManagementServiceImpl.deactivateCarsByPlayer
(Player player, UserContext ctx) void
PlayerManagementServiceImpl.deactivatePlayer
(Player player, UserContext userContext) void
CarpoolingServiceImpl.processCarSeatRequest
(Match match, Player player, Car car, UserContext ctx) void
MatchManagementServiceImpl.registerPlayer
(Player player, Match match, Car car, UserContext userContext) PlayerManagementServiceImpl.savePlayer
(Player player, UserContext userContext) void
MatchManagementServiceImpl.unregisterPlayer
(Player player, Match match, UserContext ctx) void
MatchManagementServiceImpl.unregisterPlayerFromAllMatches
(Player player, UserContext userContext) void
CarpoolingServiceImpl.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) void
PlayerManagementServiceImpl.updatePlayer
(Player player, UserContext userContext) -
Uses of Player in net.andresbustamante.yafoot.core.web.mappers
Methods in net.andresbustamante.yafoot.core.web.mappers that return PlayerModifier and TypeMethodDescriptionPlayerMapper.map
(PlayerForm player) PlayerMapperImpl.map
(PlayerForm player) Methods in net.andresbustamante.yafoot.core.web.mappers with parameters of type PlayerModifier and TypeMethodDescriptionMaps a player bean into a minimalist player DTO.DTO mapping for a player bean.Method parameters in net.andresbustamante.yafoot.core.web.mappers with type arguments of type Player