Interface MatchAlertingService
public interface MatchAlertingService
Service enabling alert controls on matches.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForAlertsAfterPlayerRemovedFromMatch
(Integer matchId, Integer playerId) Checks whether a match has a new alert of cancelling risk after a player cancelled his registration to it.
-
Method Details
-
checkForAlertsAfterPlayerRemovedFromMatch
void checkForAlertsAfterPlayerRemovedFromMatch(Integer matchId, Integer playerId) throws net.andresbustamante.yafoot.commons.exceptions.ApplicationException Checks whether a match has a new alert of cancelling risk after a player cancelled his registration to it. If an alert is detected, it sends a notification to inform the author of the match of this alert.- Parameters:
matchId
- Concerned match IDplayerId
- ID from the player that was unregistered from the match- Throws:
net.andresbustamante.yafoot.commons.exceptions.ApplicationException
-