Class ResourcePolicyViewUtils
java.lang.Object
io.jmix.securityflowui.view.resourcepolicy.ResourcePolicyViewUtils
-
Constructor Summary
ConstructorDescriptionResourcePolicyViewUtils
(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 MenuItem
findMenuItemByView
(MenuItem rootItem, String screenId) findMenuItemByView
(String viewId) protected String
getDetailedViewTitle
(ViewInfo viewInfo) protected String
getEntityAttributeCaption
(MetaProperty metaProperty) getEntityAttributeOptionsMap
(String entityName) protected String
getEntityCaption
(MetaClass metaClass) getMenuTitle
(MenuItem menuItem) protected String
getViewTitle
(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 String
throwDuplicateException
(String v1, String v2) protected void
walkMenuItem
(MenuItem menuItem, Map<String, String> collectedMenus)
-
Constructor Details
-
Method Details
-
getEntityOptionsMap
-
getEntityAttributeOptionsMap
-
getMenuItemOptionsMap
-
getViewsOptionsMap
-
findMenuItemById
-
findMenuItemByView
-
getDetailedViewTitle
-
getViewTitle
-
getViewTitle
-
getEntityCaption
-
getEntityAttributeCaption
-
throwDuplicateException
-
setEnumItemsAsString
-
setEnumItemsAsString
-
setEnumItemsAsStringInternal
-
createItemLabelGenerator
-