org.broadleafcommerce.cms.admin.server.handler
Class DynamicFieldPersistenceHandlerHelper
java.lang.Object
org.broadleafcommerce.cms.admin.server.handler.DynamicFieldPersistenceHandlerHelper
@Component(value="blDynamicFieldPersistenceHandlerHelper")
public class DynamicFieldPersistenceHandlerHelper
- extends Object
Commonalities between PageTemplateCustomPersistenceHandler and StructuredContentTypeCustomPersistenceHandler
since they share similar issues in regards to dynamic fields
- Author:
- Phillip Verheyden (phillipuniverse)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicFieldPersistenceHandlerHelper
public DynamicFieldPersistenceHandlerHelper()
buildDynamicPropertyList
public Property[] buildDynamicPropertyList(List<FieldGroup> fieldGroups,
Class<?> inheritedType)
- Builds all of the metadata for all of the dynamic properties within a
StructuredContentType, gleaned from
the FieldGroups and FieldDefinitions.
- Parameters:
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)
- Returns:
Copyright © 2013. All Rights Reserved.