Class EmailTemplateSendScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.emailtemplatesui.screen.emailtemplate.send.EmailTemplateSendScreen
- All Implemented Interfaces:
FrameOwner
@UiController("emltmp_EmailTemplateSendScreen")
@UiDescriptor("email-template-send-screen.xml")
public class EmailTemplateSendScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected EmailTemplateParametersFragment
protected ParameterClassResolver
protected CoreProperties
protected DataManager
protected Emailer
protected EmailTemplateParametersFragment
protected EmailTemplates
protected com.haulmont.yarg.util.converter.ObjectToStringConverter
protected ReportParameterValidator
protected UiScreenProperties
protected ScreenValidation
protected UiProperties
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
onAfterInit
(Screen.AfterInitEvent event) void
void
void
void
setEmailTemplate
(EmailTemplate emailTemplate) void
setParameter
(String alias, Object value) void
setParameters
(Map<String, Object> params) protected void
protected boolean
Methods inherited from class io.jmix.ui.screen.Screen
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
-
Field Details
-
emailTemplateParametersFragment
-
attachmentParametersFragment
-
reportParameterValidator
-
uiProperties
-
screenProperties
-
emailTemplates
-
emailer
-
coreProperties
-
objectToStringConverter
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter -
classResolver
-
dataManager
-
screenValidation
-
-
Constructor Details
-
EmailTemplateSendScreen
public EmailTemplateSendScreen()
-
-
Method Details
-
getEmailTemplate
-
setEmailTemplate
-
onAfterInit
-
subjectFileValueChangeEvent
@Subscribe("subject") protected void subjectFileValueChangeEvent(HasValue.ValueChangeEvent<String> e) -
setParameters
-
setParameter
-
validateAll
protected boolean validateAll() -
crossValidateParameters
protected boolean crossValidateParameters() -
onCancelButtonClick
-
onPreviewButtonClick
@Subscribe("previewButton") public void onPreviewButtonClick(Button.ClickEvent e) throws TemplateNotFoundException, ReportParameterTypeChangedException -
onSendButtonClick
@Subscribe("sendButton") public void onSendButtonClick(Button.ClickEvent e) throws TemplateNotFoundException, ReportParameterTypeChangedException
-