Class FbNotificationService

java.lang.Object
com.hildeio.services.FbNotificationService

@Service public class FbNotificationService extends Object
Service zum Versenden von FCM PushNotifications.
  • Field Details

    • log4Hilde

      @Autowired Log4Hilde log4Hilde
      Dependency Injection auf Log4Hilde
  • Constructor Details

    • FbNotificationService

      public FbNotificationService()
  • Method Details

    • sendPushNotification

      public Log4HildePushNotificationModel sendPushNotification(String target, String title, String body, String eventId) throws IOException
      Hinzufuegen eines MobileDevice-Tokens zu einem FCM Topic.
      Parameters:
      target - Empfaenger kann ein MobileDevice oder ein FCM Topic sein.
      title - Betreff der Nachricht
      body - Text der Nachricht
      eventId - Aktuelle WorkflowId
      Returns:
      log4HildePushNotificationModel
      Throws:
      IOException - Erforderliche Exception.