Package io.jmix.dynattr.impl
Class DynAttrMetadataImpl
java.lang.Object
io.jmix.dynattr.impl.DynAttrMetadataImpl
- All Implemented Interfaces:
DynAttrMetadata
@Component("dynat_DynAttrMetadata")
public class DynAttrMetadataImpl
extends Object
implements DynAttrMetadata
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.cache.Cache
protected org.springframework.cache.CacheManager
protected CacheOperations
protected DatatypeRegistry
protected String
protected ExtendedEntities
protected FetchPlans
protected Metadata
protected StoreAwareLocator
Fields inherited from interface io.jmix.dynattr.DynAttrMetadata
DYN_ATTR_CACHE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CategoryDefinition
buildCategoryDefinition
(Category category) protected DynAttrMetaProperty
buildMetaProperty
(CategoryAttribute categoryAttribute, MetaClass metaClass) getAttributeByCode
(MetaClass metaClass, String code) getAttributes
(MetaClass metaClass) getCategories
(MetaClass metaClass) protected void
init()
protected DynAttrMetadataImpl.CacheItem
loadCacheItem
(String entityName) protected List<CategoryDefinition>
loadCategoryDefinitions
(String entityName) void
reload()
-
Field Details
-
storeAwareLocator
-
extendedEntities
-
metadata
-
datatypeRegistry
-
fetchPlans
-
cacheManager
@Autowired protected org.springframework.cache.CacheManager cacheManager -
cacheOperations
-
cache
protected org.springframework.cache.Cache cache -
dynamicAttributesStore
-
-
Constructor Details
-
DynAttrMetadataImpl
public DynAttrMetadataImpl()
-
-
Method Details
-
init
@PostConstruct protected void init() -
getAttributes
- Specified by:
getAttributes
in interfaceDynAttrMetadata
-
getAttributeByCode
- Specified by:
getAttributeByCode
in interfaceDynAttrMetadata
-
getCategories
- Specified by:
getCategories
in interfaceDynAttrMetadata
-
reload
public void reload()- Specified by:
reload
in interfaceDynAttrMetadata
-
loadCacheItem
-
loadCategoryDefinitions
-
buildCategoryDefinition
-
buildMetaProperty
protected DynAttrMetaProperty buildMetaProperty(CategoryAttribute categoryAttribute, MetaClass metaClass)
-