public class AlarmNotificationManager
extends java.lang.Object
| Constructor and Description |
|---|
AlarmNotificationManager(Benutzer _defaultSender)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AlarmBenachrichtigungsauftrag |
createNotificationOrder(Transaction tx,
AlarmAusloesung aa,
boolean doTestOnly,
java.util.Collection<NotifiableI> recipients,
java.util.Collection<NotifiableI> recipientsCC,
java.util.Collection<NotifiableI> recipientsBCC,
java.util.Collection<NotifiableI> replyTos)
Creates and returns a new instance of
AlarmBenachrichtigungsauftrag appropriate for notifying about the given alarm triggering instance. |
Benutzer |
getDefaultSender() |
void |
setDefaultSender(Benutzer $16) |
public AlarmNotificationManager(Benutzer _defaultSender)
_defaultSender - a Benutzer instance used as the default for
Absender for created AlarmBenachrichtigungsauftrag
instances if the triggering Alarm does not specify a
Verantwortlicher or Absenderpublic AlarmBenachrichtigungsauftrag createNotificationOrder(Transaction tx, AlarmAusloesung aa, boolean doTestOnly, java.util.Collection<NotifiableI> recipients, java.util.Collection<NotifiableI> recipientsCC, java.util.Collection<NotifiableI> recipientsBCC, java.util.Collection<NotifiableI> replyTos)
AlarmBenachrichtigungsauftrag appropriate for notifying about the given alarm triggering instance.tx - A Transaction used to load objects and include the created AlarmBenachrichtigungsauftrag.aa - The AlarmAusloesung from which the relevant data required for creating the notification order is taken.doTestOnly - If false (the default), a notification order will actually be created; if true, only log messages will be output,
and nothing will be done otherwise.recipients - A collection of NotifiableI instances to be set as Empfaenger of the notification order;
may be null or empty.recipientsCC - A collection of NotifiableI instances to be set as EmpfaengerCC of the notification order;
may be null or empty.recipientsBCC - A collection of NotifiableI instances to be set as EmpfaengerBCC of the notification order;
may be null or empty.replyTos - A collection of NotifiableI instances to be set as AntwortAn of the notification order;
may be null or empty.AlarmBenachrichtigungsauftrag for the given alarm triggering instance.public Benutzer getDefaultSender()
public void setDefaultSender(Benutzer $16)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.