public interface NotificationReceiverI extends NotifiableI
NotificationReceiverCollectionI
which
represents a group of recipients).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
Modifier and Type | Method and Description |
---|---|
MyTISMAdresse[] |
getAdressenInOrder(Transaction tx)
Returns the concrete address or addresses to which the notification should
actually be sent.
|
java.lang.String |
getOpenPGPPublicKey()
Returns the OpenPGP public key to use when notifications for this recipient
should be encrypted.
|
L10nLocale |
getPreferredLocale()
Returns the locale that should be used when interpreting subject and text
body templates of the notification.
|
java.lang.Boolean |
getWillInlinePGP()
Returns the setting if the signature for the notifcation should be
inserted inline in the created message using the (rather obsolete) inline
format or if it should be attached using the newer MIME format.
|
java.lang.Integer |
getWillSignatur()
Returns the setting if the notification for this recipient should be
signed by the MyTISM node or not.
|
java.lang.Integer |
getWillVerschluesselung()
Returns the setting if the notification for this recipient should be
encrypted or not.
|
default boolean |
hasValidMyTISMAdresseEmail()
Returns true if the AdressenInOrder of this NotificationReceiverI contains
at least one MyTISMAdresseEmail with an Email set.
|
boolean |
isDeleted() |
boolean |
isNew() |
byNames, byNames, describe, filterNotifiableI, getId, getUsersOrGroupsToNotify, getUsersOrGroupsToNotifyByCSV, getUsersOrGroupsToNotifyByEV
static final java.lang.String $0
MyTISMAdresse[] getAdressenInOrder(Transaction tx)
NotificationReceiverI
.tx
- a Transaction
that must be used if the BOs
that
are returned by a given implementation of this method are created on
the fly; since the returned BOs
must be persistent (or will get
persisted) for correct use by the notification system any BOs
returned here that are not already persistent must be included in the
given transaction and will be persisted automatically by the
notification system. When this method is called by the notification
system, a transaction will always be given; for other uses of/calls to
this method tx
may be null so implementations should not rely
on a transaction being givenMyTISMAdresse
instances to which the
notification should actually be sent; may be null or emptydefault boolean hasValidMyTISMAdresseEmail()
L10nLocale getPreferredLocale()
L10nLocale
to be used for
interpreting the subject and text body templates; null to use system
defaultjava.lang.String getOpenPGPPublicKey()
getWillVerschluesselung()
); if encryption is wanted but no key is
returned this will lead to an error during sending.java.lang.Integer getWillVerschluesselung()
de.ipcon.core.mytism.MyTISMConstantsI
: USE_DEFAULT to fall back
to the system default; NEVER to not encrypt; IF_POSSIBLE to encrypt if
the system supports it and a key is available; MANDATORY to always
encrypt (and fail if not possible)java.lang.Integer getWillSignatur()
de.ipcon.core.mytism.MyTISMConstantsI
: USE_DEFAULT to fall back
to the system default; NEVER to not sign; IF_POSSIBLE to sign if
the system supports it and a key is available; MANDATORY to always
sign (and fail if not possible)java.lang.Boolean getWillInlinePGP()
Boolean.TRUE
if the inline format should be used;
Boolean.FALSE
if the MIME format should be used; null if the
preference is not known in which case the system default will be usedboolean isNew()
boolean isDeleted()
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.