Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.util
Class DDMFormTemplateSynchonizer

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.DDMFormTemplateSynchonizer

public class DDMFormTemplateSynchonizer
extends Object


Constructor Summary
DDMFormTemplateSynchonizer(DDMForm structureDDMForm)
           
 
Method Summary
protected  void addRequiredDDMFormFields(List<DDMFormField> structureDDMFormFields, List<DDMFormField> templateDDMFormFields)
           
protected  DDMFormField getDDMFormField(List<DDMFormField> ddmFormFields, String name)
           
protected  List<DDMTemplate> getDDMFormTemplates()
           
 void setDDMFormTemplates(List<DDMTemplate> ddmFormTemplates)
           
 void synchronize()
           
protected  void synchronizeDDMFormFieldRequiredProperty(DDMFormField structureDDMFormField, DDMFormField templateDDMFormField, String templateMode)
           
protected  void synchronizeDDMFormFields(Map<String,DDMFormField> structureDDMFormFieldsMap, List<DDMFormField> templateDDMFormFields, String templateMode)
           
protected  void updateDDMTemplate(DDMTemplate ddmTemplate, DDMForm templateDDMForm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMFormTemplateSynchonizer

public DDMFormTemplateSynchonizer(DDMForm structureDDMForm)
Method Detail

setDDMFormTemplates

public void setDDMFormTemplates(List<DDMTemplate> ddmFormTemplates)

synchronize

public void synchronize()
                 throws PortalException
Throws:
PortalException

addRequiredDDMFormFields

protected void addRequiredDDMFormFields(List<DDMFormField> structureDDMFormFields,
                                        List<DDMFormField> templateDDMFormFields)

getDDMFormField

protected DDMFormField getDDMFormField(List<DDMFormField> ddmFormFields,
                                       String name)

getDDMFormTemplates

protected List<DDMTemplate> getDDMFormTemplates()

synchronizeDDMFormFieldRequiredProperty

protected void synchronizeDDMFormFieldRequiredProperty(DDMFormField structureDDMFormField,
                                                       DDMFormField templateDDMFormField,
                                                       String templateMode)

synchronizeDDMFormFields

protected void synchronizeDDMFormFields(Map<String,DDMFormField> structureDDMFormFieldsMap,
                                        List<DDMFormField> templateDDMFormFields,
                                        String templateMode)

updateDDMTemplate

protected void updateDDMTemplate(DDMTemplate ddmTemplate,
                                 DDMForm templateDDMForm)

Liferay 7.0-ce-m6