Class FormCreationDataImpl
- java.lang.Object
-
- org.alfresco.repo.forms.processor.FormCreationDataImpl
-
- All Implemented Interfaces:
FormCreationData
public class FormCreationDataImpl extends java.lang.Object implements FormCreationData
Simple DTO containing various objects needed to generate Forms.- Since:
- 3.4
- Author:
- Nick Smith
-
-
Constructor Summary
Constructors Constructor Description FormCreationDataImpl(java.lang.Object itemData, java.util.List<java.lang.String> forcedFields, java.util.Map<java.lang.String,java.lang.Object> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getContext()java.lang.ObjectgetItemData()booleanisForcedField(java.lang.String fieldName)
-
-
-
Method Detail
-
getItemData
public java.lang.Object getItemData()
- Specified by:
getItemDatain interfaceFormCreationData- Returns:
- the itemData
-
isForcedField
public boolean isForcedField(java.lang.String fieldName)
- Specified by:
isForcedFieldin interfaceFormCreationData- Returns:
- If the
fieldNamegiven is a forced field then returnstrue, otherwise returnsfalse.
-
getContext
public java.util.Map<java.lang.String,java.lang.Object> getContext()
- Specified by:
getContextin interfaceFormCreationData- Returns:
- the context
-
-