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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.cache.Cacheprotected org.springframework.cache.CacheManagerprotected CacheOperationsprotected DatatypeRegistryprotected Stringprotected ExtendedEntitiesprotected FetchPlansprotected Metadataprotected StoreAwareLocatorFields inherited from interface io.jmix.dynattr.DynAttrMetadata
DYN_ATTR_CACHE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
cache
protected org.springframework.cache.Cache cache -
dynamicAttributesStore
-
-
Constructor Details
-
DynAttrMetadataImpl
public DynAttrMetadataImpl()
-
-
Method Details
-
init
@PostConstruct protected void init() -
getAttributes
- Specified by:
getAttributesin interfaceDynAttrMetadata
-
getAttributeByCode
- Specified by:
getAttributeByCodein interfaceDynAttrMetadata
-
getCategories
- Specified by:
getCategoriesin interfaceDynAttrMetadata
-
reload
public void reload()- Specified by:
reloadin interfaceDynAttrMetadata
-
loadCacheItem
-
loadCategoryDefinitions
-
buildCategoryDefinition
-
buildMetaProperty
protected DynAttrMetaProperty buildMetaProperty(CategoryAttribute categoryAttribute, MetaClass metaClass)
-