Class ReportTemplateDetailView
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.flowui.view.StandardDetailView<ReportTemplate>
io.jmix.reportsflowui.view.template.ReportTemplateDetailView
- 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,- ChangeTracker,- DetailView<ReportTemplate>,- ReadOnlyAwareView,- Serializable
@Route(value="reports/templates/:id",
       layout=DefaultMainViewParent.class)
@ViewController("report_ReportTemplate.detail")
@ViewDescriptor("report-template-detail-view.xml")
@DialogMode(width="40em")
public class ReportTemplateDetailView
extends StandardDetailView<ReportTemplate>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailViewStandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected JmixCheckboxstatic final Stringstatic final Stringprotected JmixSelect<CustomTemplateDefinedBy>protected JmixCodeEditorprotected com.vaadin.flow.component.icon.Iconprotected JmixCheckboxprotected JmixCheckboxprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected Dialogsprotected JmixRadioButtonGroup<Boolean>protected MessageBundleprotected Metadataprotected Notificationsprotected TypedTextField<String>protected JmixComboBox<ReportOutputType>protected PolicyStoreprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutstatic final Stringprotected ReportScriptEditorprotected InstanceContainer<ReportTemplate>protected SecureOperationsprotected TableEditFragmentprotected JmixCodeEditorprotected FileUploadFieldprotected UiComponentsFields inherited from class io.jmix.flowui.view.StandardDetailViewDEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Collection<AbstractDescriptionEditFragment<?>>protected booleanhasHtmlCsvTemplateOutput(ReportOutputType reportOutputType) protected booleanhasScriptCustomDefinedBy(CustomTemplateDefinedBy customTemplateDefinedBy) protected booleanhasSupportedFileExtension(ReportOutputType reportOutputType) protected booleanhasTemplateOutput(ReportOutputType reportOutputType) protected voidprotected voidinitDefaultField(ReportTemplate currentTemplate) protected voidprotected voidprotected voidprotected voidinitTemplateEditor(ReportTemplate reportTemplate) protected voidinitUploadField(ReportTemplate reportTemplate) protected booleanisContentAttributeUpdatePermitted(ReportTemplate reportTemplate) voidvoidonBeforeShow(View.BeforeShowEvent event) voidonCustomDefinitionFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonCustomDefinitionHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event) voidonInit(View.InitEvent event) voidprotected voidonOutputNamePatternHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event) protected voidonReportTemplateDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportTemplate> event) voidonTemplateFileEditorFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidvoidvoidprotected voidprotected voidsetupTemplateTypeVisibility(boolean visibility) protected voidsetupVisibility(boolean customEnabled, ReportOutputType reportOutputType) protected voidsetupVisibilityDescriptionEdit(boolean customEnabled, ReportOutputType reportOutputType) protected voidupdateOutputNamePattern(ReportOutputType value, ReportOutputType prevValue) protected voidprotected booleanprotected booleanprotected voidvisibleTemplateEditor(ReportOutputType outputType) Methods inherited from class io.jmix.flowui.view.StandardDetailViewaddAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
CUSTOM_DEFINE_BY_PROPERTY- See Also:
 
- 
CUSTOM_PROPERTY- See Also:
 
- 
REPORT_OUTPUT_TYPE_PROPERTY- See Also:
 
- 
isGroovyRadioButtonGroup
- 
customField
- 
defaultField
- 
customDefinedByField
- 
customDefinitionField
- 
alterableField
- 
templateUploadField
- 
outputNamePatternField
- 
templateFileEditor
- 
outputTypeField
- 
descriptionEditBox@ViewComponent protected com.vaadin.flow.component.orderedlayout.HorizontalLayout descriptionEditBox
- 
previewBox
- 
reportTemplateDc
- 
messageBundle
- 
dialogs
- 
secureOperations
- 
metadata
- 
policyStore
- 
notifications
- 
uiComponents
- 
reportScriptEditor
- 
customDefinitionHelpIconprotected com.vaadin.flow.component.icon.Icon customDefinitionHelpIcon
- 
tableEditComposite
 
- 
- 
Constructor Details- 
ReportTemplateDetailViewpublic ReportTemplateDetailView()
 
- 
- 
Method Details- 
onInit
- 
onInitEntity
- 
onBeforeShow
- 
onBeforeSave
- 
onTemplateUploadFieldFileUploadStarted@Subscribe("templateUploadField") public void onTemplateUploadFieldFileUploadStarted(FileUploadStartedEvent<FileUploadField> event) 
- 
onTemplateUploadFieldFileUploadFailed@Subscribe("templateUploadField") public void onTemplateUploadFieldFileUploadFailed(FileUploadFailedEvent<FileUploadField> event) 
- 
onTemplateUploadFieldFileUploadSucceeded@Subscribe("templateUploadField") public void onTemplateUploadFieldFileUploadSucceeded(FileUploadSucceededEvent<FileUploadField> event) 
- 
initDefaultField
- 
initCustomDefinitionHelpIconprotected void initCustomDefinitionHelpIcon()
- 
initDescriptionCompositesprotected void initDescriptionComposites()
- 
onCustomDefinitionHelpIconClickprotected void onCustomDefinitionHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event) 
- 
openCustomDefinitionHelpDialogprotected void openCustomDefinitionHelpDialog()
- 
initOutputNamePatternFieldprotected void initOutputNamePatternField()
- 
onOutputNamePatternHelpIconClickprotected void onOutputNamePatternHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event) 
- 
onCustomDefinitionFullScreenBtnClick@Subscribe("customDefinitionFullScreenBtn") public void onCustomDefinitionFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
initUploadField
- 
onReportTemplateDcItemPropertyChangeprotected void onReportTemplateDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportTemplate> event) 
- 
getDescriptionEditors
- 
initOutputTypeListprotected void initOutputTypeList()
- 
initTemplateEditor
- 
visibleTemplateEditor
- 
onTemplateFileEditorFullScreenBtnClick@Subscribe("templateFileEditorFullScreenBtn") public void onTemplateFileEditorFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
setupVisibility
- 
setupTemplateTypeVisibilityprotected void setupTemplateTypeVisibility(boolean visibility) 
- 
setupVisibilityDescriptionEditprotected void setupVisibilityDescriptionEdit(boolean customEnabled, ReportOutputType reportOutputType) 
- 
validateTemplateFileprotected boolean validateTemplateFile()
- 
validateInputOutputFormatsprotected boolean validateInputOutputFormats()
- 
updateOutputTypeprotected void updateOutputType()
- 
updateOutputNamePattern
- 
hasSupportedFileExtension
- 
hasTemplateOutput
- 
hasScriptCustomDefinedBy
- 
hasHtmlCsvTemplateOutput
- 
isContentAttributeUpdatePermitted
 
-