Package de.xima.fc.inbox.bean
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChatTemplateCreationBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getKeywordsWhitelist()
void
onReset()
handler that resets this bean to its initial statevoid
onSaveAsTemplate()
handler for the 'save current content as new template' action provided by the chat template 'save as' dialog
-
-
-
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
-
-