Interface Section.CategoryBuilder
- Enclosing interface:
- Section
public static interface Section.CategoryBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAssociatedResourceType
(ResourceType resourceType) If this category contains items that are resources that have aResourceTypeMeta
, invoke this to let these items be found via the gateway's search functionality.addPage
(String label, Consumer<Section.PageBuilder> builder) build()
mount
(String url, WebUiComponent component) default Section.CategoryBuilder
default Section.CategoryBuilder
mount
(String url, String componentId, SystemJsModule module) position
(int position) requiredPermission
(PermissionType requiredPermission) searchDelegate
(ItemSearchDelegate searchDelegate) Add a custom search delegate that can be used to search for items that reside on this category.
-
Method Details
-
label
-
requiredPermission
-
position
-
mount
-
mount
-
addPage
-
searchDelegate
Add a custom search delegate that can be used to search for items that reside on this category. If your category contains items that are resources that have aResourceTypeMeta
, you should useaddAssociatedResourceType(ResourceType)
instead.Should only be used if this category mounts a component directly. If this category has sub-pages, register search delegates for them instead.
-
addAssociatedResourceType
If this category contains items that are resources that have aResourceTypeMeta
, invoke this to let these items be found via the gateway's search functionality.Should only be used if this category mounts a component directly. If this category has sub-pages, associate them instead.
-
build
Section build()
-