Class ResendMessageView
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.resend.ResendMessageView
- 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
@ViewController("email_resendMessageView")
@ViewDescriptor("resend-message-view.xml")
@DialogMode(width="50em")
public class ResendMessageView
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
FieldsModifier and TypeFieldDescriptionprotected TypedTextField<String>protected TypedTextField<String>protected Emailerprotected TypedTextField<String>protected FileStorageLocatorprotected JmixCheckboxprotected MessageBundleprotected Notificationsprotected SendingMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EmailAttachmentconvertToEmailAttachment(SendingAttachment sendingAttachment) protected byte[]getAttachmentBody(SendingAttachment attachment) protected List<EmailAttachment>getEmailAttachments(List<SendingAttachment> sendingAttachments) protected StringgetEmailBody(SendingMessage message) voidonResendEmailBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) protected List<EmailHeader>parseHeadersString(String headersString) voidsetMessage(SendingMessage sendingMessage) Methods inherited from class io.jmix.flowui.view.StandardView
initContentMethods 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, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
sendingMessage
-
emailTextField
-
ccTextField
-
bccTextField
-
importanceField
-
fileStorageLocator
-
messageBundle
-
notifications
-
emailer
-
-
Constructor Details
-
ResendMessageView
public ResendMessageView()
-
-
Method Details
-
onResendEmailBtnClick
@Subscribe("resendEmailBtn") public void onResendEmailBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
setMessage
-
parseHeadersString
-
getEmailBody
-
getEmailAttachments
-
convertToEmailAttachment
-
getAttachmentBody
-