com.liferay.portlet.dynamicdatamapping.io
Class DDMFormJSONDeserializerImpl
java.lang.Object
com.liferay.portlet.dynamicdatamapping.io.DDMFormJSONDeserializerImpl
- All Implemented Interfaces:
- DDMFormJSONDeserializer
public class DDMFormJSONDeserializerImpl
- extends Object
- implements DDMFormJSONDeserializer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMFormJSONDeserializerImpl
public DDMFormJSONDeserializerImpl()
deserialize
public DDMForm deserialize(String serializedDDMForm)
throws PortalException
- Specified by:
deserialize in interface DDMFormJSONDeserializer
- Throws:
PortalException
addOptionValueLabels
protected void addOptionValueLabels(JSONObject jsonObject,
DDMFormFieldOptions ddmFormFieldOptions,
String optionValue)
getAvailableLocales
protected Set<Locale> getAvailableLocales(JSONArray jsonArray)
getDDMFormField
protected DDMFormField getDDMFormField(JSONObject jsonObject)
getDDMFormFieldOptions
protected DDMFormFieldOptions getDDMFormFieldOptions(JSONArray jsonArray)
getDDMFormFields
protected List<DDMFormField> getDDMFormFields(JSONArray jsonArray)
setDDMFormAvailableLocales
protected void setDDMFormAvailableLocales(JSONArray jsonArray,
DDMForm ddmForm)
setDDMFormDefaultLocale
protected void setDDMFormDefaultLocale(String defaultLanguageId,
DDMForm ddmForm)
setDDMFormFieldLocalizedValue
protected void setDDMFormFieldLocalizedValue(JSONObject jsonObject,
LocalizedValue localizedValue)
setDDMFormFieldLocalizedValuesDefaultLocale
protected void setDDMFormFieldLocalizedValuesDefaultLocale(DDMFormField ddmFormField,
Locale defaultLocale)
setDDMFormFieldOptions
protected void setDDMFormFieldOptions(JSONArray jsonArray,
DDMFormField ddmFormField)
setDDMFormFields
protected void setDDMFormFields(JSONArray jsonArray,
DDMForm ddmForm)
setDDMFormLocalizedValuesDefaultLocale
protected void setDDMFormLocalizedValuesDefaultLocale(DDMForm ddmForm)
setNestedDDMFormField
protected void setNestedDDMFormField(JSONArray jsonArray,
DDMFormField ddmFormField)