Class CategoryListView

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, FragmentOwner, LookupView<Category>, MultiSelectLookupView, Serializable

@Route(value="dynat/category", layout=DefaultMainViewParent.class) @ViewController("dynat_CategoryView.list") @ViewDescriptor("category-list-view.xml") @DialogMode(width="47.5em") public class CategoryListView extends StandardListView<Category>
See Also:
  • Field Details

  • Constructor Details

    • CategoryListView

      public CategoryListView()
  • Method Details

    • beforeEnter

      public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
      Specified by:
      beforeEnter in interface com.vaadin.flow.router.internal.BeforeEnterHandler
      Overrides:
      beforeEnter in class View<ViewLayout>
    • processBeforeEnterInternal

      protected void processBeforeEnterInternal(com.vaadin.flow.router.BeforeEnterEvent event)
      Description copied from class: View
      CAUTION: for internal use only.
      Overrides:
      processBeforeEnterInternal in class View<ViewLayout>
      Parameters:
      event - before navigation event with event details
    • processQueryParameters

      protected void processQueryParameters(com.vaadin.flow.router.BeforeEnterEvent event)
    • setSelectedCategory

      protected void setSelectedCategory(String categoryUUid)
    • onBeforeShow

      @Subscribe protected void onBeforeShow(View.BeforeShowEvent event)
    • onReady

      @Subscribe protected void onReady(View.ReadyEvent event)
    • setupFieldsLock

      protected void setupFieldsLock()
    • setupSelectedCategory

      protected void setupSelectedCategory()
    • onCategoriesGridApplyChanges

      @Subscribe("categoriesGrid.applyChanges") protected void onCategoriesGridApplyChanges(ActionPerformedEvent event)
    • categoriesGridIsDefaultRenderer

      @Supply(to="categoriesGrid.isDefault", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<Category> categoriesGridIsDefaultRenderer()
    • categoryAttrsGridRequiredRenderer

      @Supply(to="attributesTable.required", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<CategoryAttribute> categoryAttrsGridRequiredRenderer()
    • categoryAttrsGridIsCollectionRenderer

      @Supply(to="attributesTable.isCollection", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<CategoryAttribute> categoryAttrsGridIsCollectionRenderer()
    • createCheckboxIconByAttributeValue

      protected com.vaadin.flow.component.icon.Icon createCheckboxIconByAttributeValue(Boolean attributeValue)
    • createCategoryAttrsGridDataTypeRenderer

      @Supply(to="attributesTable.dataType", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<CategoryAttribute> createCategoryAttrsGridDataTypeRenderer()
    • categoryAttrsGridDataTypeComponent

      protected com.vaadin.flow.component.html.Span categoryAttrsGridDataTypeComponent()
    • categoryAttrsGridDataTypeUpdater

      protected void categoryAttrsGridDataTypeUpdater(com.vaadin.flow.component.html.Span text, CategoryAttribute categoryAttribute)
    • createCategoryAttrsGridDefaultValueRenderer

      @Supply(to="attributesTable.defaultValue", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<CategoryAttribute> createCategoryAttrsGridDefaultValueRenderer()
    • categoryAttrsGridDefaultValueColumnComponent

      protected com.vaadin.flow.component.html.Span categoryAttrsGridDefaultValueColumnComponent()
    • categoryAttrsGridDefaultValueColumnUpdater

      protected void categoryAttrsGridDefaultValueColumnUpdater(com.vaadin.flow.component.html.Span defaultValueLabel, CategoryAttribute attribute)
    • onCategoryAttrsGridMoveUp

      @Subscribe("attributesTable.moveUp") protected void onCategoryAttrsGridMoveUp(ActionPerformedEvent event)
    • categoryAttrsGridMoveUpEnabledRule

      @Install(to="attributesTable.moveUp", subject="enabledRule") protected boolean categoryAttrsGridMoveUpEnabledRule()
    • onCategoryAttrsGridMoveDown

      @Subscribe("attributesTable.moveDown") protected void onCategoryAttrsGridMoveDown(ActionPerformedEvent event)
    • categoryAttrsGridMoveDownEnabledRule

      @Install(to="attributesTable.moveDown", subject="enabledRule") protected boolean categoryAttrsGridMoveDownEnabledRule()
    • checkOrderNoModificationPermissions

      protected boolean checkOrderNoModificationPermissions()
    • refreshMoveActionStates

      protected void refreshMoveActionStates()
    • getPrevAttribute

      protected CategoryAttribute getPrevAttribute(Integer orderNo)
    • getNextAttribute

      protected CategoryAttribute getNextAttribute(Integer orderNo)
    • categoryAttrsGridCreateEnabledRule

      @Install(to="attributesTable.create", subject="enabledRule") protected boolean categoryAttrsGridCreateEnabledRule()
    • onCategoriesGridSelectionEvent

      @Subscribe("categoriesGrid") protected void onCategoriesGridSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Category>,Category> event)
    • onCategoryGridSelectionChange

      protected void onCategoryGridSelectionChange(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Category>,Category> event)
    • attributesTableCreateActionRouteParametersProvider

      @Install(to="attributesTable.create", subject="routeParametersProvider") protected com.vaadin.flow.router.RouteParameters attributesTableCreateActionRouteParametersProvider()
    • attributesTableEditActionRouteParametersProvider

      @Install(to="attributesTable.edit", subject="routeParametersProvider") protected com.vaadin.flow.router.RouteParameters attributesTableEditActionRouteParametersProvider()
    • onExportBtnExportJSON

      @Subscribe("categoriesGrid.exportJSON") public void onExportBtnExportJSON(ActionPerformedEvent event)
    • onExportBtnExportZIP

      @Subscribe("categoriesGrid.exportZIP") public void onExportBtnExportZIP(ActionPerformedEvent event)
    • export

      protected void export(DownloadFormat downloadFormat)
    • buildExportFetchPlan

      protected FetchPlan buildExportFetchPlan()
    • onImportFieldFileUploadSucceed

      @Subscribe("importField") public void onImportFieldFileUploadSucceed(FileUploadSucceededEvent<FileUploadField> event)
    • createEntityImportPlan

      protected EntityImportPlan createEntityImportPlan()