@Component(value="blDynamicFieldPersistenceHandlerHelper") public class DynamicFieldPersistenceHandlerHelper extends Object
PageTemplateCustomPersistenceHandler
and StructuredContentTypeCustomPersistenceHandler
since they share similar issues in regards to dynamic fieldsConstructor and Description |
---|
DynamicFieldPersistenceHandlerHelper() |
Modifier and Type | Method and Description |
---|---|
Property[] |
buildDynamicPropertyList(List<FieldGroup> fieldGroups,
Class<?> inheritedType)
Builds all of the metadata for all of the dynamic properties within a
StructuredContentType , gleaned from
the FieldGroup s and FieldDefinition s. |
public DynamicFieldPersistenceHandlerHelper()
public Property[] buildDynamicPropertyList(List<FieldGroup> fieldGroups, Class<?> inheritedType)
StructuredContentType
, gleaned from
the FieldGroup
s and FieldDefinition
s.fieldGroups
- groups that the Property
s 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)
Copyright © 2014. All rights reserved.