|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.forms.processor.node.FieldUtils
public class FieldUtils
Utility class to assist in creating Fields which represent
PropertyDefinitions and
AssociationDefinitions
| Constructor Summary | |
|---|---|
FieldUtils()
|
|
| Method Summary | |
|---|---|
static Field |
makeAssociationField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef,
java.lang.Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates an asssociation field. |
static java.util.List |
makeAssociationFields(java.util.Collection assocDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of association fields without values. |
static java.util.List |
makeAssociationFields(java.util.Collection assocDefs,
java.util.Map values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of association fields with values. |
static java.util.List |
makeAssociationFields(java.util.Map assocDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of association fields with values. |
static Field |
makePropertyField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
java.lang.Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a property field. |
static java.util.List |
makePropertyFields(java.util.Collection propDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of property fields without values. |
static java.util.List |
makePropertyFields(java.util.Collection propDefs,
java.util.Map values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of property fields with values. |
static java.util.List |
makePropertyFields(java.util.Map propDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
Generates a list of property fields with values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldUtils()
| Method Detail |
|---|
public static Field makePropertyField(org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
java.lang.Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
propDef - The definition of the property to generatevalue - The value of the fieldgroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makePropertyFields(java.util.Collection propDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
propDefs - List of property defintions to creategroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makePropertyFields(java.util.Map propDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
propDefAndValue - Map of property definitions and corresponding valuesgroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makePropertyFields(java.util.Collection propDefs,
java.util.Map values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
propDefs - List of property definitions to generatevalues - Map containing the values to use for each propertygroup - The group the field belongs tonamespaceService - NamespaceService instance
public static Field makeAssociationField(org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef,
java.lang.Object value,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
assocDef - The definition of the association to generatevalue - The value of the fieldgroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makeAssociationFields(java.util.Collection assocDefs,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
assocDefs - List of association defintions to creategroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makeAssociationFields(java.util.Map assocDefAndValue,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
assocDefAndValue - Map of association definitions and corresponding valuesgroup - The group the field belongs tonamespaceService - NamespaceService instance
public static java.util.List makeAssociationFields(java.util.Collection assocDefs,
java.util.Map values,
FieldGroup group,
org.alfresco.service.namespace.NamespaceService namespaceService)
assocDefs - List of association definitions to generatevalues - Map containing the values to use for each propertygroup - The group the field belongs tonamespaceService - NamespaceService instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||