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 UserContextAbstractController.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 TypeMethodDescriptionvoidUserManagementAdapter.deleteUser(User user, UserContext context) Deletes an existing user.voidUserManagementAdapter.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 TypeMethodDescriptionvoidMatchManagementService.cancelMatch(Match match, UserContext userContext) Cancels a match by a logical suppression in database.voidCarManagementService.deactivateCar(Car car, UserContext ctx) Deactivates a given car.voidCarManagementService.deactivateCarsByPlayer(Player player, UserContext ctx) Deactivates all the cars registered by a player.voidPlayerManagementService.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.voidCarpoolingService.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.voidCarpoolingService.processTransportationChange(Match match, Car oldCar, Car newCar, UserContext ctx) If a player changes of transportation it updates the carpooling options for passengers previously confirmed.voidMatchManagementService.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.voidMatchManagementService.unregisterPlayer(Player player, Match match, UserContext userContext) Unregister a player from a match.voidMatchManagementService.unregisterPlayerFromAllMatches(Player player, UserContext userContext) Unregister a player from all matches.voidCarManagementService.updateCar(Integer carId, Car updatedCar, UserContext ctx) Updates the car with the given ID.voidCarpoolingService.updateCarpoolingInformation(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) Update the car used for a registration.voidPlayerManagementService.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 TypeMethodDescriptionvoidMatchManagementServiceImpl.cancelMatch(Match match, UserContext userContext) voidCarManagementServiceImpl.deactivateCar(Car car, UserContext ctx) voidCarManagementServiceImpl.deactivateCarsByPlayer(Player player, UserContext ctx) voidPlayerManagementServiceImpl.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) voidCarpoolingServiceImpl.processCarSeatRequest(Match match, Player player, Car car, UserContext ctx) voidCarpoolingServiceImpl.processTransportationChange(Match match, Car oldCar, Car newCar, UserContext ctx) voidMatchManagementServiceImpl.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) voidMatchManagementServiceImpl.unregisterPlayer(Player player, Match match, UserContext ctx) voidMatchManagementServiceImpl.unregisterPlayerFromAllMatches(Player player, UserContext userContext) voidCarManagementServiceImpl.updateCar(Integer carId, Car updatedCar, UserContext ctx) voidCarpoolingServiceImpl.updateCarpoolingInformation(Match match, Player player, Car car, boolean isCarConfirmed, UserContext ctx) voidPlayerManagementServiceImpl.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 TypeMethodDescriptionvoidInternalUserManagementAdapterImpl.deleteUser(User user, UserContext context) voidInternalUserManagementAdapterImpl.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 TypeMethodDescriptionvoidUserManagementService.deleteUser(User user, UserContext ctx) Removes a user from the internal user directory.voidUserManagementService.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 TypeMethodDescriptionvoidUserManagementServiceImpl.deleteUser(User user, UserContext ctx) voidUserManagementServiceImpl.updateUser(User user, UserContext ctx)