Class ResourcePolicyViewUtils
java.lang.Object
io.jmix.securityflowui.view.resourcepolicy.ResourcePolicyViewUtils
-
Constructor Summary
ConstructorsConstructorDescriptionResourcePolicyViewUtils(ViewRegistry viewRegistry, ViewSupport viewSupport, MenuConfig menuConfig, Metadata metadata, MetadataTools metadataTools, Messages messages, MessageTools messageTools) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Enum<T> & EnumClass<String>>
com.vaadin.flow.component.ItemLabelGenerator<String>createItemLabelGenerator(Class<T> enumClass) findMenuItemById(String menuItemId) protected MenuItemfindMenuItemByView(MenuItem rootItem, String screenId) findMenuItemByView(String viewId) protected StringgetDetailedViewTitle(ViewInfo viewInfo) protected StringgetEntityAttributeCaption(MetaProperty metaProperty) getEntityAttributeOptionsMap(String entityName) protected StringgetEntityCaption(MetaClass metaClass) getMenuTitle(MenuItem menuItem) getViewsOptionsMap(boolean includeWildcard) protected StringgetViewTitle(ViewInfo viewInfo, boolean detailed) getViewTitle(String viewId) setEnumItemsAsString(com.vaadin.flow.component.combobox.ComboBox<String> comboBox, Class<T> enumClass) setEnumItemsAsString(com.vaadin.flow.component.select.Select<String> select, Class<T> enumClass) setEnumItemsAsStringInternal(com.vaadin.flow.data.provider.HasListDataView<String, ?> component, Class<T> enumClass) protected StringthrowDuplicateException(String v1, String v2) protected voidwalkMenuItem(MenuItem menuItem, Map<String, String> collectedMenus)
-
Constructor Details
-
Method Details
-
getEntityOptionsMap
-
getEntityAttributeOptionsMap
-
getMenuItemOptionsMap
-
getViewsOptionsMap
-
getViewsOptionsMap
-
findMenuItemById
-
findMenuItemByView
-
getDetailedViewTitle
-
getViewTitle
-
getViewTitle
-
getEntityCaption
-
getEntityAttributeCaption
-
throwDuplicateException
-
setEnumItemsAsString
-
setEnumItemsAsString
-
setEnumItemsAsStringInternal
-
createItemLabelGenerator
-