Interface INotificationConfiguration
- All Superinterfaces:
IConfigurationAspect,ISavableConfigurationAspect,IStorableConfiguration<INotificationConfiguration>
public interface INotificationConfiguration
extends IStorableConfiguration<INotificationConfiguration>, IConfigurationAspect
Notification Configuration
- Author:
- I-D Media AG
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescription@NotNull StringGet a list of custom recipientsWho is to be informedbooleanNotify if in translationbooleanNotify on registrationbooleanNotify if translated@Nullable StringBuilderLoad a mail templateMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISavableConfigurationAspect
saveToDiskMethods inherited from interface com.idmedia.translationstudio.api.configuration.IStorableConfiguration
createClone, isEmpty, saveToDisk, toXml
-
Method Details
-
requestEmailTemplate
@Nullable @Nullable StringBuilder requestEmailTemplate(INotificationConfiguration.NotificationType eType) Load a mail template- Parameters:
eType-- Returns:
-
onRegistration
boolean onRegistration()Notify on registration- Returns:
-
onInTranslation
boolean onInTranslation()Notify if in translation- Returns:
-
onTranslated
boolean onTranslated()Notify if translated- Returns:
-
getReceiver
Who is to be informed- Returns:
-
getCustomRecipients
Get a list of custom recipients- Returns:
- list of emails, space separated
-