Class BpmNotificationTemplateProvider

java.lang.Object
io.jmix.bpm.notifications.BpmNotificationTemplateProvider

@Component @ConditionalOnClass(name="io.jmix.notifications.NotificationManager") public class BpmNotificationTemplateProvider extends Object
Provides methods for fetching configured notification templates that can be used in BPM. WARNING: this functionality is experimental and may be removed in future releases. Please don't use it in your project.
  • Constructor Details

    • BpmNotificationTemplateProvider

      public BpmNotificationTemplateProvider()
  • Method Details

    • init

      @PostConstruct protected void init()
    • getAllNotificationTemplates

      public Map<String,String> getAllNotificationTemplates()
      Returns code and name for all existed notification templates.
    • getNotificationTemplateByCode

      public BpmNotificationTemplate getNotificationTemplateByCode(String notificationTemplateCode)
      Returns notification template by it code.
      Throws:
      IllegalStateException - if there is no notification template with such code