Class EmailTemplateAttachmentsFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.emailtemplatesui.screen.emailtemplate.attachment.EmailTemplateAttachmentsFragment
- All Implemented Interfaces:
FrameOwner
@UiController("emltmp_EmailTemplateAttachmentsFragment")
@UiDescriptor("email-template-attachments-fragment.xml")
public class EmailTemplateAttachmentsFragment
extends ScreenFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected Form
protected DataManager
protected VBoxLayout
protected Downloader
protected InstanceContainer<EmailTemplate>
protected Table<EmailTemplateAttachment>
protected FileStorage
protected FileStorageLocator
protected Fragments
protected EmailTemplateParametersFragment
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 void
protected TemplateReport
createTemplateReport
(Report report) protected void
void
protected void
Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
fragments
-
emailTemplateDc
-
filesTable
-
defaultValuesBox
-
attachmentGroup
-
dataManager
-
downloader
-
fileStorageLocator
-
fileStorage
-
parametersFragment
-
actions
-
-
Constructor Details
-
EmailTemplateAttachmentsFragment
public EmailTemplateAttachmentsFragment()
-
-
Method Details
-
onAttachEvent
-
attachedReportsDcOnItemChangeEvent
@Subscribe(id="attachedReportsDc", target=DATA_CONTAINER) protected void attachedReportsDcOnItemChangeEvent(InstanceContainer.ItemChangeEvent<TemplateReport> e) -
onReportsTableAdd
-
createTemplateReport
-
downloadAttachment
protected void downloadAttachment()
-