Class PolicyExtractorUtils
java.lang.Object
io.jmix.security.impl.role.builder.extractor.PolicyExtractorUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEntityNameByEntityClass
(Class<?> entityClass) Returns an actual entity name of the given entityClass.
-
Field Details
-
metadata
-
extendedEntities
-
-
Constructor Details
-
PolicyExtractorUtils
-
-
Method Details
-
getEntityNameByEntityClass
Returns an actual entity name of the given entityClass. For example, if entity Foo is being replaced by entity ExtFoo using the ReplaceEntity annotation then the "Foo" entity name will be returned for the Foo.class, not "ExtFoo". This method is required because metadata.getClass(Foo.class) will return you a metaclass for ExtFoo.
-