@UiController(value="ResendMessage")
@UiDescriptor(value="resend-message.xml")
public class ResendMessage
extends io.jmix.ui.screen.Screen
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.component.TextField<java.lang.String> |
bccTextField |
protected io.jmix.ui.component.TextField<java.lang.String> |
ccTextField |
protected Emailer |
emailer |
protected io.jmix.ui.component.TextField<java.lang.String> |
emailTextField |
protected io.jmix.core.FileStorage |
fileStorage |
protected io.jmix.core.FileStorageLocator |
fileStorageLocator |
protected SendingMessage |
message |
protected io.jmix.core.Messages |
messages |
protected io.jmix.ui.Notifications |
notifications |
Constructor and Description |
---|
ResendMessage() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
attachmentBody(SendingAttachment attachment) |
protected EmailAttachment |
convertToEmailAttachment(SendingAttachment sendingAttachment) |
protected java.lang.String |
emailBody(SendingMessage message) |
protected java.util.List<EmailAttachment> |
getEmailAttachments(java.util.List<SendingAttachment> sendingAttachments) |
protected void |
onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event) |
protected void |
onResendEmailBtnClick(io.jmix.ui.component.Button.ClickEvent event) |
protected java.util.List<EmailHeader> |
parseHeadersString(java.lang.String headersString) |
void |
setMessage(SendingMessage message) |
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
protected SendingMessage message
@Autowired protected Emailer emailer
protected io.jmix.core.FileStorage fileStorage
@Autowired protected io.jmix.core.FileStorageLocator fileStorageLocator
@Autowired protected io.jmix.ui.Notifications notifications
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.ui.component.TextField<java.lang.String> emailTextField
@Autowired protected io.jmix.ui.component.TextField<java.lang.String> ccTextField
@Autowired protected io.jmix.ui.component.TextField<java.lang.String> bccTextField
@Subscribe protected void onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event)
public void setMessage(SendingMessage message)
@Subscribe(value="resendEmailBtn") protected void onResendEmailBtnClick(io.jmix.ui.component.Button.ClickEvent event)
protected java.lang.String emailBody(SendingMessage message)
protected java.util.List<EmailHeader> parseHeadersString(java.lang.String headersString)
protected java.util.List<EmailAttachment> getEmailAttachments(java.util.List<SendingAttachment> sendingAttachments)
protected EmailAttachment convertToEmailAttachment(SendingAttachment sendingAttachment)
protected byte[] attachmentBody(SendingAttachment attachment)