Class MessageTemplateListView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardListView<MessageTemplate>
io.jmix.messagetemplatesflowui.view.messagetemplate.MessageTemplateListView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,FragmentOwner
,LookupView<MessageTemplate>
,MultiSelectLookupView
,Serializable
@Route(value="msgtmp/messagetemplate",
layout=DefaultMainViewParent.class)
@ViewController("msgtmp_MessageTemplate.list")
@ViewDescriptor("message-template-list-view.xml")
@DialogMode(width="64em")
public class MessageTemplateListView
extends StandardListView<MessageTemplate>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessManager
protected DataManager
protected boolean
protected static final int
protected DataGrid<MessageTemplate>
protected CollectionContainer<MessageTemplate>
protected CollectionLoader<MessageTemplate>
protected MetadataTools
Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
copyTemplate
(MessageTemplate messageTemplate) protected void
fetchPlanBuilder
(FetchPlanBuilder fetchPlanBuilder) protected String
generateTemplateCode
(String existedCode) protected String
generateTemplateCode
(String existedCode, int iteration) protected boolean
isTemplateCodeExist
(String templateCode) boolean
void
onInit
(View.InitEvent event) void
protected MessageTemplate
reloadTemplateWithParameters
(MessageTemplate template) void
setTemplateType
(String templateType) protected void
updateParameters
(MessageTemplate copiedTemplate) Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
MAX_CODE_LENGTH
protected static final int MAX_CODE_LENGTH- See Also:
-
messageTemplatesDataGrid
-
messageTemplatesDc
-
messageTemplatesDl
-
metadataTools
-
dataManager
-
accessManager
-
isCreatePermitted
protected boolean isCreatePermitted
-
-
Constructor Details
-
MessageTemplateListView
public MessageTemplateListView()
-
-
Method Details
-
onInit
-
applySecurityConstraints
protected void applySecurityConstraints() -
setTemplateType
-
messageTemplatesDataGridCopyEnabledRule
-
onMessageTemplatesDataGridCopy
@Subscribe("messageTemplatesDataGrid.copy") public void onMessageTemplatesDataGridCopy(ActionPerformedEvent event) -
copyTemplate
-
updateParameters
-
reloadTemplateWithParameters
-
fetchPlanBuilder
-
generateTemplateCode
-
generateTemplateCode
-
isTemplateCodeExist
-