Constructor and Description |
---|
FieldUtils() |
Modifier and Type | Method and Description |
---|---|
static Field |
makeAssociationField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef,
Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates an asssociation field.
|
static List<Field> |
makeAssociationFields(Collection<org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of association fields without values.
|
static List<Field> |
makeAssociationFields(Collection<org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs,
Map<org.alfresco.service.cmr.dictionary.AssociationDefinition,Object> values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of association fields with values.
|
static List<Field> |
makeAssociationFields(Map<org.alfresco.service.cmr.dictionary.AssociationDefinition,Object> assocDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of association fields with values.
|
static Field |
makePropertyField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a property field.
|
static List<Field> |
makePropertyFields(Collection<org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of property fields without values.
|
static List<Field> |
makePropertyFields(Collection<org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs,
Map<org.alfresco.service.cmr.dictionary.PropertyDefinition,Object> values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of property fields with values.
|
static List<Field> |
makePropertyFields(Map<org.alfresco.service.cmr.dictionary.PropertyDefinition,Object> propDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Generates a list of property fields with values.
|
public static Field makePropertyField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef, Object value, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
propDef
- The definition of the property to generatevalue
- The value of the fieldgroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makePropertyFields(Collection<org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
propDefs
- List of property defintions to creategroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makePropertyFields(Map<org.alfresco.service.cmr.dictionary.PropertyDefinition,Object> propDefAndValue, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
propDefAndValue
- Map of property definitions and corresponding valuesgroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makePropertyFields(Collection<org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs, Map<org.alfresco.service.cmr.dictionary.PropertyDefinition,Object> values, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
propDefs
- List of property definitions to generatevalues
- Map containing the values to use for each propertygroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static Field makeAssociationField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef, Object value, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
assocDef
- The definition of the association to generatevalue
- The value of the fieldgroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makeAssociationFields(Collection<org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
assocDefs
- List of association defintions to creategroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makeAssociationFields(Map<org.alfresco.service.cmr.dictionary.AssociationDefinition,Object> assocDefAndValue, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
assocDefAndValue
- Map of association definitions and corresponding valuesgroup
- The group the field belongs tonamespaceService
- NamespaceService instancepublic static List<Field> makeAssociationFields(Collection<org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs, Map<org.alfresco.service.cmr.dictionary.AssociationDefinition,Object> values, FieldGroup group, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
assocDefs
- List of association definitions to generatevalues
- Map containing the values to use for each propertygroup
- The group the field belongs tonamespaceService
- NamespaceService instanceCopyright © 2005–2017 Alfresco Software. All rights reserved.