Interface MatchAlertingService

All Known Implementing Classes:
MatchAlertingServiceImpl

public interface MatchAlertingService
Service enabling alert controls on matches.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 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 ID
      playerId - ID from the player that was unregistered from the match
      Throws:
      ApplicationException