Uses of Class
net.andresbustamante.yafoot.commons.model.UserContext
Packages that use UserContext
Package
Description
Common classes for Web controllers.
Core adapters API.
Core services API.
Service implementations for the core API.
Adapters implementations for the Web core module.
Services API for the users module.
Services implementations for the users module.
-
Uses of UserContext in net.andresbustamante.yafoot.commons.web.controllers
Methods in net.andresbustamante.yafoot.commons.web.controllers that return UserContextModifier and TypeMethodDescriptionprotected UserContext
AbstractController.getUserContext()
Gets the connected user from a given request. -
Uses of UserContext in net.andresbustamante.yafoot.core.adapters
Methods in net.andresbustamante.yafoot.core.adapters with parameters of type UserContextModifier and TypeMethodDescriptionvoid
UserManagementAdapter.deleteUser
(User user, UserContext context) Deletes an existing user.void
UserManagementAdapter.updateUser
(User user, UserContext context) Updates an existing user. -
Uses of UserContext in net.andresbustamante.yafoot.core.services
Methods in net.andresbustamante.yafoot.core.services with parameters of type UserContextModifier and TypeMethodDescriptionvoid
MatchManagementService.cancelMatch
(Match match, UserContext userContext) Cancels a match by a logical suppression in database.void
CarManagementService.deactivateCar
(Car car, UserContext ctx) Deactivates a given car.void
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.CarSearchService.findCars
(UserContext ctx) Load the list of cars saved by a user.MatchSearchService.findMatches
(MatchStatusEnum status, SportEnum sport, LocalDate startDate, LocalDate endDate, UserContext ctx) Find the matches where a player is attending in an interval of time.PlayerSearchService.findPlayerByEmail
(String email, UserContext context) Look for a player by using its email address (unique).SiteSearchService.findSites
(UserContext ctx) Load the sites associated to or registered by a player.CarSearchService.loadCar
(Integer id, UserContext ctx) Loads the details of a car from its unique identifier.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.MatchManagementService.saveMatch
(Match match, UserContext userContext) Create a new match in database.PlayerManagementService.savePlayer
(Player player, UserContext userContext) Creates a new player in the application.SiteManagementService.saveSite
(Site site, UserContext userContext) Registers a new site.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
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.void
PlayerManagementService.updatePlayer
(Player player, UserContext userContext) Updates basic details for a player. -
Uses of UserContext in net.andresbustamante.yafoot.core.services.impl
Methods in net.andresbustamante.yafoot.core.services.impl with parameters of type UserContextModifier and TypeMethodDescriptionvoid
MatchManagementServiceImpl.cancelMatch
(Match match, UserContext userContext) void
CarManagementServiceImpl.deactivateCar
(Car car, UserContext ctx) void
CarManagementServiceImpl.deactivateCarsByPlayer
(Player player, UserContext ctx) void
PlayerManagementServiceImpl.deactivatePlayer
(Player player, UserContext userContext) CarSearchServiceImpl.findCars
(UserContext ctx) MatchSearchServiceImpl.findMatches
(MatchStatusEnum status, SportEnum sport, LocalDate startDate, LocalDate endDate, UserContext ctx) PlayerSearchServiceImpl.findPlayerByEmail
(String email, UserContext context) SiteSearchServiceImpl.findSites
(UserContext ctx) CarSearchServiceImpl.loadCar
(Integer id, 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) MatchManagementServiceImpl.saveMatch
(Match match, UserContext userContext) PlayerManagementServiceImpl.savePlayer
(Player player, UserContext userContext) SiteManagementServiceImpl.saveSite
(Site site, UserContext userContext) void
MatchManagementServiceImpl.unregisterPlayer
(Player player, Match match, UserContext ctx) void
MatchManagementServiceImpl.unregisterPlayerFromAllMatches
(Player player, UserContext userContext) void
CarManagementServiceImpl.updateCar
(Integer carId, Car updatedCar, UserContext ctx) void
CarpoolingServiceImpl.updateCarpoolingInformation
(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) void
PlayerManagementServiceImpl.updatePlayer
(Player player, UserContext userContext) -
Uses of UserContext in net.andresbustamante.yafoot.core.web.adapters
Methods in net.andresbustamante.yafoot.core.web.adapters with parameters of type UserContextModifier and TypeMethodDescriptionvoid
InternalUserManagementAdapterImpl.deleteUser
(User user, UserContext context) void
InternalUserManagementAdapterImpl.updateUser
(User user, UserContext context) -
Uses of UserContext in net.andresbustamante.yafoot.users.services
Methods in net.andresbustamante.yafoot.users.services with parameters of type UserContextModifier and TypeMethodDescriptionvoid
UserManagementService.deleteUser
(User user, UserContext ctx) Removes a user from the internal user directory.void
UserManagementService.updateUser
(User user, UserContext ctx) Updates a user's details in the active directory. -
Uses of UserContext in net.andresbustamante.yafoot.users.services.impl
Methods in net.andresbustamante.yafoot.users.services.impl with parameters of type UserContextModifier and TypeMethodDescriptionvoid
UserManagementServiceImpl.deleteUser
(User user, UserContext ctx) void
UserManagementServiceImpl.updateUser
(User user, UserContext ctx)