Package io.jmix.dynmodelflowui.impl
Class EntityViewsProvider
java.lang.Object
io.jmix.dynmodelflowui.impl.EntityViewsProvider
Resolves the registered views that work with a given entity. Used to populate the view-id
dropdown when extending a static entity's view in
DynamicViewModelDetailView.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractLookupEntityClass(Class<? extends View<?>> viewClass) getViewIds(MetaClass entityMetaClass) Returns the ids of all registered views (detail, list and lookup) whose entity is the given metaclass, distinct and sorted case-insensitively.protected static booleanisConcreteEntity(@Nullable Class<?> entityClass) resolveEntityClass(ViewInfo viewInfo)
-
Field Details
-
viewRegistry
-
-
Constructor Details
-
EntityViewsProvider
public EntityViewsProvider()
-
-
Method Details
-
getViewIds
Returns the ids of all registered views (detail, list and lookup) whose entity is the given metaclass, distinct and sorted case-insensitively. -
resolveEntityClass
-
extractLookupEntityClass
-
isConcreteEntity
-