Class Metadata
java.lang.Object
org.broadleafcommerce.openadmin.server.dao.Metadata
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BasicEntityMetadataProviderprotected FieldMetadataProviderprotected List<FieldMetadataProvider> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTabAndGroupMetadataOverrides(Class<?>[] entities, Map<String, TabMetadata> mergedTabAndGroupMetadata) voidbuildAdditionalTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd, Map<String, TabMetadata> metadata) getBaseTabAndGroupMetadata(Class<?>[] entities) getFieldMetadata(String prefix, String propertyName, List<org.hibernate.mapping.Property> componentProperties, SupportedFieldType type, SupportedFieldType secondaryType, org.hibernate.type.Type entityType, Class<?> targetClass, FieldMetadata presentationAttribute, MergedPropertyType mergedPropertyType, DynamicEntityDao dynamicEntityDao) getFieldMetadata(String prefix, String propertyName, List<org.hibernate.mapping.Property> componentProperties, SupportedFieldType type, org.hibernate.type.Type entityType, Class<?> targetClass, FieldMetadata presentationAttribute, MergedPropertyType mergedPropertyType, DynamicEntityDao dynamicEntityDao) getFieldMetadataForTargetClass(Class<?> parentClass, Class<?> targetClass, DynamicEntityDao dynamicEntityDao, String prefix) overrideMetadata(Class<?>[] entities, PropertyBuilder propertyBuilder, String prefix, Boolean isParentExcluded, String ceilingEntityFullyQualifiedClassname, String configurationKey, DynamicEntityDao dynamicEntityDao) voidsetDefaultFieldMetadataProvider(FieldMetadataProvider defaultFieldMetadataProvider) voidsetFieldMetadataProviders(List<FieldMetadataProvider> fieldMetadataProviders)
-
Field Details
-
fieldMetadataProviders
-
defaultFieldMetadataProvider
-
basicEntityMetadataProvider
-
-
Constructor Details
-
Metadata
public Metadata()
-
-
Method Details
-
getFieldMetadataForTargetClass
public Map<String,FieldMetadata> getFieldMetadataForTargetClass(Class<?> parentClass, Class<?> targetClass, DynamicEntityDao dynamicEntityDao, String prefix) -
getBaseTabAndGroupMetadata
-
applyTabAndGroupMetadataOverrides
public void applyTabAndGroupMetadataOverrides(Class<?>[] entities, Map<String, TabMetadata> mergedTabAndGroupMetadata) -
buildAdditionalTabAndGroupMetadataFromCmdProperties
public void buildAdditionalTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd, Map<String, TabMetadata> metadata) -
overrideMetadata
public Map<String,FieldMetadata> overrideMetadata(Class<?>[] entities, PropertyBuilder propertyBuilder, String prefix, Boolean isParentExcluded, String ceilingEntityFullyQualifiedClassname, String configurationKey, DynamicEntityDao dynamicEntityDao) -
getFieldMetadata
public FieldMetadata getFieldMetadata(String prefix, String propertyName, List<org.hibernate.mapping.Property> componentProperties, SupportedFieldType type, org.hibernate.type.Type entityType, Class<?> targetClass, FieldMetadata presentationAttribute, MergedPropertyType mergedPropertyType, DynamicEntityDao dynamicEntityDao) -
getFieldMetadata
public FieldMetadata getFieldMetadata(String prefix, String propertyName, List<org.hibernate.mapping.Property> componentProperties, SupportedFieldType type, SupportedFieldType secondaryType, org.hibernate.type.Type entityType, Class<?> targetClass, FieldMetadata presentationAttribute, MergedPropertyType mergedPropertyType, DynamicEntityDao dynamicEntityDao) -
getDefaultFieldMetadataProvider
-
setDefaultFieldMetadataProvider
-
getFieldMetadataProviders
-
setFieldMetadataProviders
-