Class SendingMessageView
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.emailflowui.view.sendingmessage.SendingMessageView
- 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
,Serializable
@Route(value="email/sendingmessage",
layout=DefaultMainViewParent.class)
@ViewController("email_sendingMessageView")
@ViewDescriptor("sending-message-view.xml")
@DialogMode(width="80em",
height="65em",
resizable=true)
public class SendingMessageView
extends StandardView
- 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.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected TypedTextField<String>
protected JmixTextArea
protected CoreProperties
protected DataManager
protected DialogWindows
protected Downloader
protected EmailDataProvider
protected EmailerProperties
protected FileStorageLocator
protected MessageBundle
protected Notifications
protected DataGrid<SendingMessage>
protected JmixButton
protected TemporaryStorage
protected UiProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
downloadFile
(SendingAttachment attachment) protected List<SendingAttachment>
getAttachments
(SendingMessage message) protected FileRef
getNewReference
(SendingAttachment attachment) void
void
void
void
onShowContentBtnClick
(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected void
openAttachmentLookupDialog
(SendingMessage message) 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, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, 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, getEventBus, 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
-
sendingMessageDataGrid
-
contentTextArea
-
bodyContentTypeField
-
showContentBtn
-
emailerProperties
-
uiProperties
-
coreProperties
-
emailDataProvider
-
fileStorageLocator
-
temporaryStorage
-
dialogWindows
-
notifications
-
dataManager
-
messageBundle
-
downloader
-
-
Constructor Details
-
SendingMessageView
public SendingMessageView()
-
-
Method Details
-
onSendingMessagesDcItemChange
@Subscribe(id="sendingMessagesDc", target=DATA_CONTAINER) public void onSendingMessagesDcItemChange(InstanceContainer.ItemChangeEvent<SendingMessage> event) -
onShowContentBtnClick
@Subscribe("showContentBtn") public void onShowContentBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
onSendingMessageDownloadAttachment
@Subscribe("sendingMessageDataGrid.downloadAttachment") public void onSendingMessageDownloadAttachment(ActionPerformedEvent event) -
onSendingMessageResendEmail
@Subscribe("sendingMessageDataGrid.resendEmail") public void onSendingMessageResendEmail(ActionPerformedEvent event) -
openAttachmentLookupDialog
-
downloadFile
-
getAttachments
-
getNewReference
-