public class PropertyFieldProcessor extends QNameFieldProcessor<org.alfresco.service.cmr.dictionary.PropertyDefinition>
FieldProcessor
implementation that handles properties.dictionaryService, namespaceService
Constructor and Description |
---|
PropertyFieldProcessor() |
PropertyFieldProcessor(org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
Modifier and Type | Method and Description |
---|---|
protected FieldGroup |
getGroup(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef) |
protected org.apache.commons.logging.Log |
getLogger() |
protected String |
getRegistryKey() |
protected org.alfresco.service.cmr.dictionary.PropertyDefinition |
getTypeDefinition(org.alfresco.service.namespace.QName fullName,
ContentModelItemData<?> itemData,
boolean isForcedField) |
Object |
getValue(org.alfresco.service.namespace.QName name,
ContentModelItemData<?> data) |
Field |
makeField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
Object value,
FieldGroup group) |
generateField, generateTypedField, getExpectedDataType, getFullName, getPrefixedName, makeDataKeyForName, populateFieldDefinition, setDictionaryService, setNamespaceService
generateField, setFieldProcessorRegistry
public PropertyFieldProcessor()
public PropertyFieldProcessor(org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
protected org.apache.commons.logging.Log getLogger()
getLogger
in class AbstractFieldProcessor<ContentModelItemData<?>>
Log
used to log events that occur while processing fields.protected org.alfresco.service.cmr.dictionary.PropertyDefinition getTypeDefinition(org.alfresco.service.namespace.QName fullName, ContentModelItemData<?> itemData, boolean isForcedField)
getTypeDefinition
in class QNameFieldProcessor<org.alfresco.service.cmr.dictionary.PropertyDefinition>
public Field makeField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef, Object value, FieldGroup group)
makeField
in class QNameFieldProcessor<org.alfresco.service.cmr.dictionary.PropertyDefinition>
protected FieldGroup getGroup(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef)
getGroup
in class QNameFieldProcessor<org.alfresco.service.cmr.dictionary.PropertyDefinition>
public Object getValue(org.alfresco.service.namespace.QName name, ContentModelItemData<?> data)
getValue
in class QNameFieldProcessor<org.alfresco.service.cmr.dictionary.PropertyDefinition>
protected String getRegistryKey()
getRegistryKey
in class AbstractFieldProcessor<ContentModelItemData<?>>
String
key used to identify this FieldProcessor
in a FieldProcessorRegistry
.Copyright © 2005–2017 Alfresco Software. All rights reserved.