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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.cache.Cacheprotected org.springframework.cache.CacheManagerprotected CacheOperationsprotected DatatypeRegistryprotected Stringprotected ExtendedEntitiesprotected FetchPlansprotected Metadataprotected StoreAwareLocatorFields inherited from interface io.jmix.dynattr.DynAttrMetadataDYN_ATTR_CACHE_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected CategoryDefinitionbuildCategoryDefinition(Category category) protected DynAttrMetaPropertybuildMetaProperty(CategoryAttribute categoryAttribute, MetaClass metaClass) getAttributeByCode(MetaClass metaClass, String code) getAttributes(MetaClass metaClass) getCategories(MetaClass metaClass) protected voidinit()protected DynAttrMetadataImpl.CacheItemloadCacheItem(String entityName) protected List<CategoryDefinition>loadCategoryDefinitions(String entityName) voidreload()
- 
Field Details- 
storeAwareLocator
- 
extendedEntities
- 
metadata
- 
datatypeRegistry
- 
fetchPlans
- 
cacheManager@Autowired protected org.springframework.cache.CacheManager cacheManager
- 
cacheOperations
- 
cacheprotected org.springframework.cache.Cache cache
- 
dynamicAttributesStore
 
- 
- 
Constructor Details- 
DynAttrMetadataImplpublic DynAttrMetadataImpl()
 
- 
- 
Method Details- 
init@PostConstruct protected void init()
- 
getAttributes- Specified by:
- getAttributesin interface- DynAttrMetadata
 
- 
getAttributeByCode- Specified by:
- getAttributeByCodein interface- DynAttrMetadata
 
- 
getCategories- Specified by:
- getCategoriesin interface- DynAttrMetadata
 
- 
reloadpublic void reload()- Specified by:
- reloadin interface- DynAttrMetadata
 
- 
loadCacheItem
- 
loadCategoryDefinitions
- 
buildCategoryDefinition
- 
buildMetaPropertyprotected DynAttrMetaProperty buildMetaProperty(CategoryAttribute categoryAttribute, MetaClass metaClass) 
 
-