Uses of Class
net.andresbustamante.yafoot.commons.exceptions.DatabaseException
Packages that use DatabaseException
Package
Description
Core services API.
Service implementations for the core API.
-
Uses of DatabaseException in net.andresbustamante.yafoot.core.services
Methods in net.andresbustamante.yafoot.core.services that throw DatabaseExceptionModifier 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.CarpoolingService.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.MatchSearchService.findMatchByCode(String code) Find a match by its identifying code.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).PlayerSearchService.findPlayerById(Integer id) Look for a player by using its technical identifier.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.SportSearchService.loadSports()Finds all sports available in the application.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.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 DatabaseException in net.andresbustamante.yafoot.core.services.impl
Methods in net.andresbustamante.yafoot.core.services.impl that throw DatabaseExceptionModifier and TypeMethodDescriptionvoidPlayerManagementServiceImpl.deactivatePlayer(Player player, UserContext userContext) CarpoolingServiceImpl.findAvailableCarsByMatch(Match match) PlayerSearchServiceImpl.findPlayerById(Integer id) SportSearchServiceImpl.loadSports()voidMatchManagementServiceImpl.registerPlayer(Player player, Match match, Car car, UserContext userContext) MatchManagementServiceImpl.saveMatch(Match match, UserContext userContext) voidMatchManagementServiceImpl.unregisterPlayer(Player player, Match match, UserContext ctx)