Annotation Interface UiSection


@Deprecated(since="next", forRemoval=true) @Retention(RUNTIME) @Target(TYPE) public @interface UiSection
Deprecated, for removal: This API element is subject to removal in a future version.
Assign entities to sidebar sections in a Layout bean instead, e.g.
  class MainLayout implements Layout {
      public void configure(LayoutSpec layout) {
          layout.section("Sales").order(0).icon("euro")
          .document(Invoice.class)
          .catalog(Customer.class);
      }
  }
Layout beans are the source of truth for the sidebar (served at /api/ui/metadata/layout); this annotation is currently echoed only onto the per-entity metadata response as a section field that the React frontend does not consume. The annotation will be removed in the next release.
Sidebar section assignment for an entity.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Element Details

    • value

      String value
      Deprecated, for removal: This API element is subject to removal in a future version.
    • order

      int order
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default:
      0