Package com.onec.ui
Class FieldHintResolver
java.lang.Object
com.onec.ui.FieldHintResolver
Per-entity field hints, authored on each
EntityView.fields(com.onec.ui.EntityConfigBuilder) and resolved
by class. The source of truth for field order/visibility/widget — what used to
live in the layout's section calls. Only the default view (profile()==null)
contributes, matching the previously global (profile-agnostic) hint resolution.
Kept separate from UiViewResolver on purpose: that resolver depends on
ResolvedMetadataService, which consumes these hints — folding them in
would create a cycle. This bean depends only on the views.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionsFor(Class<?> entity) Detail-header action placement overrides for an entity (action -> primary|menu|hidden).Field hints for an entity, or an empty map if its view defines none.relatedList(Class<?> entity, String name) A single related-list panel by name, ornullif the entity declares none with that name.relatedListsFor(Class<?> entity) Related-list panels authored on an entity's view, or an empty list if none.
-
Constructor Details
-
FieldHintResolver
-
-
Method Details
-
forEntity
Field hints for an entity, or an empty map if its view defines none. -
actionsFor
Detail-header action placement overrides for an entity (action -> primary|menu|hidden).
-