Class SystemAlertService

java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.SystemAlertService

public class SystemAlertService extends BaseService
Provides a System Alerting service to notify administrators when significant errors occur.
Since:
4.1.0
  • Constructor Details

    • SystemAlertService

      public SystemAlertService()
  • Method Details

    • sendSystemAlert

      public void sendSystemAlert(String message, String groupName, Client client)
      Sent TM System Alert error email to the specified alert group members who can access the specified client, or if no client was specified, have global access.
      Parameters:
      message - the alert error message line to send (required)
      groupName - the alert group name (required)
      client - the organization to which the alert relates (optional; if null, only users with the global access flag will be notified)
      Since:
      4.1.13
    • sendSystemAlerts

      public void sendSystemAlerts(List<String> messages, String groupName, Client client)
      Send TM System Alert email to messages to the specified alert group members who can access the specified client, or if no client was specified, have global access.
      Parameters:
      messages - the list of alert error message line to send (required)
      groupName - the alert group name (required)
      client - the organization to which the alert relates (optional; if null, only users with the global access flag will be notified)
      Since:
      4.1.13
    • sendSystemAlert

      public void sendSystemAlert(String message, String groupName)
      Deprecated.
      Deprecated.
      Parameters:
      message - deprecated
      groupName - deprecated
    • sendSystemAlerts

      public void sendSystemAlerts(List<String> messages, String groupName)
      Deprecated.
      Deprecated
      Parameters:
      messages - deprecated
      groupName - deprecated