Class ReportTemplateDetailView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
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, 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:
  • Field Details

  • Constructor Details

    • ReportTemplateDetailView

      public ReportTemplateDetailView()
  • Method Details

    • onInit

      @Subscribe public void onInit(View.InitEvent event)
    • onInitEntity

    • onBeforeShow

      @Subscribe public void onBeforeShow(View.BeforeShowEvent event)
    • onBeforeSave

      @Subscribe public void onBeforeSave(StandardDetailView.BeforeSaveEvent event)
    • 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

      protected void initDefaultField(ReportTemplate currentTemplate)
    • initCustomDefinitionHelpIcon

      protected void initCustomDefinitionHelpIcon()
    • initCustomDefinitionExpandIcon

      protected void initCustomDefinitionExpandIcon()
    • initDescriptionComposites

      protected void initDescriptionComposites()
    • onCustomDefinitionHelpIconClick

      protected void onCustomDefinitionHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event)
    • initOutputNamePatternField

      protected void initOutputNamePatternField()
    • onOutputNamePatternHelpIconClick

      protected void onOutputNamePatternHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event)
    • onExpandCustomDefinitionExpandIconClick

      protected void onExpandCustomDefinitionExpandIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> event)
    • initUploadField

      protected void initUploadField(ReportTemplate reportTemplate)
    • onReportTemplateDcItemPropertyChange

      protected void onReportTemplateDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportTemplate> event)
    • getDescriptionEditors

      protected Collection<AbstractDescriptionEditFragment<?>> getDescriptionEditors()
    • setCustomDefinitionIconsVisible

      protected void setCustomDefinitionIconsVisible(boolean visible)
    • initOutputTypeList

      protected void initOutputTypeList()
    • initTemplateEditor

      protected void initTemplateEditor(ReportTemplate reportTemplate)
    • visibleTemplateEditor

      protected void visibleTemplateEditor(@Nullable ReportOutputType outputType)
    • setupVisibility

      protected void setupVisibility(boolean customEnabled, ReportOutputType reportOutputType)
    • 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

      protected boolean hasTemplateOutput(ReportOutputType reportOutputType)
    • hasScriptCustomDefinedBy

      protected boolean hasScriptCustomDefinedBy(CustomTemplateDefinedBy customTemplateDefinedBy)
    • hasHtmlCsvTemplateOutput

      protected boolean hasHtmlCsvTemplateOutput(@Nullable ReportOutputType reportOutputType)
    • isContentAttributeUpdatePermitted

      protected boolean isContentAttributeUpdatePermitted(ReportTemplate reportTemplate)