Class ChatTemplateCreationBean

  • All Implemented Interfaces:
    Serializable

    @ViewScoped
    @Named
    public class ChatTemplateCreationBean
    extends Object
    implements Serializable
    Controller bean for chat template creation based on the content of the chat message editor in the inbox.
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • ChatTemplateCreationBean

        public ChatTemplateCreationBean()
    • Method Detail

      • getKeywordsWhitelist

        public List<String> getKeywordsWhitelist()
        Returns:
        an ordered list containing all of the template keywords for the current mandant and template type (to be used by the keyword autocompletion)
      • onSaveAsTemplate

        public void onSaveAsTemplate()
        handler for the 'save current content as new template' action provided by the chat template 'save as' dialog
      • onReset

        public void onReset()
        handler that resets this bean to its initial state