public interface BenachrichtigungsScriptAPII
de.ipcon.db.alarm.BenachrichtigungsScriptAPI
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
static java.lang.String |
VARNAME_ALARM |
static java.lang.String |
VARNAME_API |
static java.lang.String |
VARNAME_AUFTRAG |
static java.lang.String |
VARNAME_BOT |
static java.lang.String |
VARNAME_BT |
static java.lang.String |
VARNAME_DATENOW |
static java.lang.String |
VARNAME_ID_BO |
static java.lang.String |
VARNAME_LOG |
Modifier and Type | Method and Description |
---|---|
BO |
getBO(java.lang.Long id)
Gets a
BO from the database using the internal Transaction of this api instance. |
BO |
getBO(java.lang.Long id,
java.lang.Class<? extends BO> classTip)
Gets a
BO from the database using the internal Transaction of this api instance. |
org.apache.log4j.Logger |
getLogger() |
Transaction |
getTransaction()
Gets the
Transaction provided by this api instance that can be
used to persist changes in the database. |
Transaction |
getTransaction(java.lang.String desc)
Gets the
Transaction provided by this api instance that can be
used to persist changes in the database. |
default boolean |
hasUnsavedData()
Tells if if the internal
Transaction of this API instance has any
changes that will be persisted in the database. |
boolean |
sendNotification(CoreBO recipient)
Convenience frontend for just one recipient for the multiple recipient
version of this method.
|
boolean |
sendNotification(CoreBO[] recipients)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple recipients. |
boolean |
sendNotification(CoreBO[] recipients,
L10nLocale locale)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple recipients. |
boolean |
sendNotification(CoreBO[] recipients,
L10nLocale locale,
CoreBO sender)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple recipients. |
boolean |
sendNotification(CoreBO[] recipients,
L10nLocale locale,
CoreBO sender,
boolean asBCC)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple recipients. |
boolean |
sendNotification(CoreBO[] recipients,
L10nLocale locale,
CoreBO sender,
boolean asBCC,
java.util.Collection<CoreBO> replyTos)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple recipients. |
boolean |
sendNotification(CoreBO recipient,
L10nLocale locale)
Convenience frontend for just one recipient for the multiple recipient
version of this method.
|
boolean |
sendNotification(CoreBO recipient,
L10nLocale locale,
CoreBO sender)
Convenience frontend for just one recipient for the multiple recipient
version of this method.
|
boolean |
sendNotificationByEmail(java.lang.String email)
Convenience frontend for just one recipient address for the multiple
recipient addresses version of this method.
|
boolean |
sendNotificationByEmail(java.lang.String[] emails)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple addresses by e-mail. |
boolean |
sendNotificationByEmail(java.lang.String[] emails,
L10nLocale locale)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple addresses by e-mail. |
boolean |
sendNotificationByEmail(java.lang.String[] emails,
L10nLocale locale,
CoreBO sender)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple addresses by e-mail. |
boolean |
sendNotificationByEmail(java.lang.String[] emails,
L10nLocale locale,
CoreBO sender,
boolean asBCC)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple addresses by e-mail. |
boolean |
sendNotificationByEmail(java.lang.String[] emails,
L10nLocale locale,
CoreBO sender,
boolean asBCC,
java.util.Collection<CoreBO> replyTos)
Sends out notifications using the
BenachrichtigungsVorlage of the
Alarm of this instance to multiple addresses by e-mail. |
boolean |
sendNotificationByEmail(java.lang.String email,
L10nLocale locale)
Convenience frontend for just one recipient address for the multiple
recipient addresses version of this method.
|
boolean |
sendNotificationByEmail(java.lang.String email,
L10nLocale locale,
CoreBO sender)
Convenience frontend for just one recipient address for the multiple
recipient addresses version of this method.
|
boolean |
sendNotificationByEmail(java.lang.String email,
L10nLocale locale,
CoreBO sender,
boolean asBCC)
Convenience frontend for just one recipient address for the multiple
recipient addresses version of this method.
|
boolean |
sendNotificationByEmail(java.lang.String email,
L10nLocale locale,
CoreBO sender,
boolean asBCC,
java.util.Collection<CoreBO> replyTos)
Convenience frontend for just one recipient address for the multiple
recipient addresses version of this method.
|
static final java.lang.String $0
static final java.lang.String VARNAME_ALARM
static final java.lang.String VARNAME_AUFTRAG
static final java.lang.String VARNAME_API
static final java.lang.String VARNAME_BOT
static final java.lang.String VARNAME_BT
static final java.lang.String VARNAME_DATENOW
static final java.lang.String VARNAME_ID_BO
static final java.lang.String VARNAME_LOG
org.apache.log4j.Logger getLogger()
Logger
for outputting log and debug messagesTransaction getTransaction(java.lang.String desc)
Transaction
provided by this api instance that can be
used to persist changes in the database.desc
- an (optional) description that should overwrite the (current)
default description of the Transaction
provided by this api
instance; if null the description will remain as isTransaction
(the internal transaction of this instance)
that can be used to persist changes in the databaseTransaction getTransaction()
Transaction
provided by this api instance that can be
used to persist changes in the database.Transaction
(the internal transaction of this instance)
that can be used to persist changes in the databasedefault boolean hasUnsavedData()
Transaction
of this API instance has any
changes that will be persisted in the database.Transaction
of this API instance has
any changes that will be persisted in the database; false if notBO getBO(java.lang.Long id)
BO
from the database using the internal Transaction of this api instance.id
- the Id of the BO to getBO
with the given IdBO getBO(java.lang.Long id, java.lang.Class<? extends BO> classTip)
BO
from the database using the internal Transaction of this api instance.id
- the Id of the BO to getclassTip
- the (optional) class of the BO to get; defaults to BO.classBO
with the given Id and classboolean sendNotificationByEmail(java.lang.String email)
boolean sendNotificationByEmail(java.lang.String email, L10nLocale locale)
boolean sendNotificationByEmail(java.lang.String email, L10nLocale locale, CoreBO sender)
boolean sendNotificationByEmail(java.lang.String email, L10nLocale locale, CoreBO sender, boolean asBCC)
boolean sendNotificationByEmail(java.lang.String email, L10nLocale locale, CoreBO sender, boolean asBCC, java.util.Collection<CoreBO> replyTos)
boolean sendNotificationByEmail(java.lang.String[] emails)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple addresses by e-mail.
If the e-mail address string(s) given here come(s) from a
CoreBO
:
Before using this method please consider letting the CoreBO
implement
NotificationReceiverI
and use sendNotification()
with the
CoreBO
as recipient instead. This method should only be used for e-mail
addresses that really "come out of thin air" and are not associated with
any CoreBO
.
And even for these you might rather consider creating a persistent
MyTISMAdresseEmail
in the DB and use that instead of using this
method which will create a persistent MyTISMAdresseEmail
itself
(and do so every time this method is used, possibly leading to countless
copies of what is basically the same object in the DB).boolean sendNotificationByEmail(java.lang.String[] emails, L10nLocale locale)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple addresses by e-mail.
If the e-mail address string(s) given here come(s) from a
CoreBO
:
Before using this method please consider letting the CoreBO
implement
NotificationReceiverI
and use sendNotification()
with the
CoreBO
as recipient instead. This method should only be used for e-mail
addresses that really "come out of thin air" and are not associated with
any CoreBO
.
And even for these you might rather consider creating a persistent
MyTISMAdresseEmail
in the DB and use that instead of using this
method which will create a persistent MyTISMAdresseEmail
itself
(and do so every time this method is used, possibly leading to countless
copies of what is basically the same object in the DB).boolean sendNotificationByEmail(java.lang.String[] emails, L10nLocale locale, CoreBO sender)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple addresses by e-mail.
If the e-mail address string(s) given here come(s) from a
CoreBO
:
Before using this method please consider letting the CoreBO
implement
NotificationReceiverI
and use sendNotification()
with the
CoreBO
as recipient instead. This method should only be used for e-mail
addresses that really "come out of thin air" and are not associated with
any CoreBO
.
And even for these you might rather consider creating a persistent
MyTISMAdresseEmail
in the DB and use that instead of using this
method which will create a persistent MyTISMAdresseEmail
itself
(and do so every time this method is used, possibly leading to countless
copies of what is basically the same object in the DB).boolean sendNotificationByEmail(java.lang.String[] emails, L10nLocale locale, CoreBO sender, boolean asBCC)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple addresses by e-mail.
If the e-mail address string(s) given here come(s) from a
CoreBO
:
Before using this method please consider letting the CoreBO
implement
NotificationReceiverI
and use sendNotification()
with the
CoreBO
as recipient instead. This method should only be used for e-mail
addresses that really "come out of thin air" and are not associated with
any CoreBO
.
And even for these you might rather consider creating a persistent
MyTISMAdresseEmail
in the DB and use that instead of using this
method which will create a persistent MyTISMAdresseEmail
itself
(and do so every time this method is used, possibly leading to countless
copies of what is basically the same object in the DB).boolean sendNotificationByEmail(java.lang.String[] emails, L10nLocale locale, CoreBO sender, boolean asBCC, java.util.Collection<CoreBO> replyTos)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple addresses by e-mail.
If the e-mail address string(s) given here come(s) from a
CoreBO
:
Before using this method please consider letting the CoreBO
implement
NotificationReceiverI
and use sendNotification()
with the
CoreBO
as recipient instead. This method should only be used for e-mail
addresses that really "come out of thin air" and are not associated with
any CoreBO
.
And even for these you might rather consider creating a persistent
MyTISMAdresseEmail
in the DB and use that instead of using this
method which will create a persistent MyTISMAdresseEmail
itself
(and do so every time this method is used, possibly leading to countless
copies of what is basically the same object in the DB).boolean sendNotification(CoreBO recipient)
boolean sendNotification(CoreBO recipient, L10nLocale locale)
boolean sendNotification(CoreBO recipient, L10nLocale locale, CoreBO sender)
boolean sendNotification(CoreBO[] recipients)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple recipients.
The recipients must be of type CoreBO
and implement NotifiableI
.boolean sendNotification(CoreBO[] recipients, L10nLocale locale)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple recipients.
The recipients must be of type CoreBO
and implement NotifiableI
.boolean sendNotification(CoreBO[] recipients, L10nLocale locale, CoreBO sender)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple recipients.
The recipients must be of type CoreBO
and implement NotifiableI
.boolean sendNotification(CoreBO[] recipients, L10nLocale locale, CoreBO sender, boolean asBCC)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple recipients.
The recipients must be of type CoreBO
and implement NotifiableI
.boolean sendNotification(CoreBO[] recipients, L10nLocale locale, CoreBO sender, boolean asBCC, java.util.Collection<CoreBO> replyTos)
BenachrichtigungsVorlage
of the
Alarm
of this instance to multiple recipients.
The recipients must be of type CoreBO
and implement NotifiableI
.Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.