Package com.avoka.fc.core.service
Class SystemAlertService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.SystemAlertService
Provides a System Alerting service to notify administrators when significant errors occur.
- Since:
- 4.1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendSystemAlert
(String message, String groupName) Deprecated.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.void
sendSystemAlerts
(List<String> messages, String groupName) Deprecated.usesendSystemAlerts(List, String, Client)
instead.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.Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
SystemAlertService
public SystemAlertService()
-
-
Method Details
-
sendSystemAlert
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
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
Deprecated.usesendSystemAlert(String, String, Client)
instead.Deprecated.- Parameters:
message
- deprecatedgroupName
- deprecated
-
sendSystemAlerts
Deprecated.usesendSystemAlerts(List, String, Client)
instead.Deprecated- Parameters:
messages
- deprecatedgroupName
- deprecated
-
sendSystemAlert(String, String, Client)
instead.