Class ChatTemplateCreationBean

java.lang.Object
de.xima.fc.inbox.bean.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:
  • Constructor Details

    • ChatTemplateCreationBean

      public ChatTemplateCreationBean()
  • Method Details

    • getKeywordsWhitelist

      public List<String> getKeywordsWhitelist()
      Returns:
      an ordered list containing all 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
    • isSaveAsTemplatePermitted

      public boolean isSaveAsTemplatePermitted()
    • getNewTemplate

      public Textbaustein getNewTemplate()