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 Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested 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 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.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<AbstractDescriptionEditFragment<?>>protected booleanhasHtmlCsvTemplateOutput(ReportOutputType reportOutputType) protected booleanhasScriptCustomDefinedBy(CustomTemplateDefinedBy customTemplateDefinedBy) 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 voidprotected booleanprotected booleanprotected voidvisibleTemplateEditor(ReportOutputType outputType) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, 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.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, 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
-
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
-
customDefinitionHelpIcon
protected com.vaadin.flow.component.icon.Icon customDefinitionHelpIcon -
tableEditComposite
-
-
Constructor Details
-
ReportTemplateDetailView
public 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
-
initCustomDefinitionHelpIcon
protected void initCustomDefinitionHelpIcon() -
initDescriptionComposites
protected void initDescriptionComposites() -
onCustomDefinitionHelpIconClick
protected void onCustomDefinitionHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event) -
openCustomDefinitionHelpDialog
protected void openCustomDefinitionHelpDialog() -
initOutputNamePatternField
protected void initOutputNamePatternField() -
onOutputNamePatternHelpIconClick
protected 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
-
onReportTemplateDcItemPropertyChange
protected void onReportTemplateDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportTemplate> event) -
getDescriptionEditors
-
initOutputTypeList
protected void initOutputTypeList() -
initTemplateEditor
-
visibleTemplateEditor
-
onTemplateFileEditorFullScreenBtnClick
@Subscribe("templateFileEditorFullScreenBtn") public void onTemplateFileEditorFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
setupVisibility
-
setupTemplateTypeVisibility
protected void setupTemplateTypeVisibility(boolean visibility) -
setupVisibilityDescriptionEdit
protected void setupVisibilityDescriptionEdit(boolean customEnabled, ReportOutputType reportOutputType) -
validateTemplateFile
protected boolean validateTemplateFile() -
validateInputOutputFormats
protected boolean validateInputOutputFormats() -
updateOutputType
protected void updateOutputType() -
hasTemplateOutput
-
hasScriptCustomDefinedBy
-
hasHtmlCsvTemplateOutput
-
isContentAttributeUpdatePermitted
-