@Component(value="blDynamicFieldPersistenceHandlerHelper") public class DynamicFieldPersistenceHandlerHelper extends Object
PageTemplateCustomPersistenceHandler and StructuredContentTypeCustomPersistenceHandler
 since they share similar issues in regards to dynamic fields| Constructor and Description | 
|---|
| DynamicFieldPersistenceHandlerHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| Property | buildDynamicProperty(FieldDefinition definition,
                    Class<?> inheritedType) | 
| Property[] | buildDynamicPropertyList(List<FieldGroup> fieldGroups,
                        Class<?> inheritedType)Builds all of the metadata for all of the dynamic properties within a  StructuredContentType, gleaned from
 theFieldGroups andFieldDefinitions. | 
| Property[] | buildDynamicPropertyList(Map<FieldGroup,Long> fieldGroups,
                        Class<?> inheritedType) | 
public DynamicFieldPersistenceHandlerHelper()
public Property buildDynamicProperty(FieldDefinition definition, Class<?> inheritedType)
public Property[] buildDynamicPropertyList(List<FieldGroup> fieldGroups, Class<?> inheritedType)
StructuredContentType, gleaned from
 the FieldGroups and FieldDefinitions.fieldGroups - groups that the Propertys are built frominheritedType - the value that each built FieldMetadata for each property will use to notate where the
 dynamic field actually came from (meaning FieldMetadata.setAvailableToTypes(String[]) and FieldMetadata.setInheritedFromType(String)public Property[] buildDynamicPropertyList(Map<FieldGroup,Long> fieldGroups, Class<?> inheritedType)
Copyright © 2020. All rights reserved.