org.alfresco.repo.forms.processor
Class FormCreationDataImpl

java.lang.Object
  extended by 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

Constructor Summary
FormCreationDataImpl(java.lang.Object itemData, java.util.List forcedFields, java.util.Map context)
           
 
Method Summary
 java.util.Map getContext()
           
 java.lang.Object getItemData()
           
 boolean isForcedField(java.lang.String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormCreationDataImpl

public FormCreationDataImpl(java.lang.Object itemData,
                            java.util.List forcedFields,
                            java.util.Map context)
Method Detail

getItemData

public java.lang.Object getItemData()
Specified by:
getItemData in interface FormCreationData
Returns:
the itemData

isForcedField

public boolean isForcedField(java.lang.String fieldName)
Specified by:
isForcedField in interface FormCreationData
Returns:
If the fieldName given is a forced field then returns true, otherwise returns false.

getContext

public java.util.Map getContext()
Specified by:
getContext in interface FormCreationData
Returns:
the context


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.