Class FragmentEntryConfigurationParserUtil
java.lang.Object
com.liferay.fragment.util.configuration.FragmentEntryConfigurationParserUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.json.JSONObjectgetConfigurationDefaultValuesJSONObject(com.liferay.portal.kernel.json.JSONObject configurationJSONObject) static ObjectgetConfigurationFieldValue(com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, String fieldName, FragmentConfigurationFieldDataType fragmentConfigurationFieldDataType) static com.liferay.portal.kernel.json.JSONObjectgetConfigurationJSONObject(com.liferay.portal.kernel.json.JSONObject configurationJSONObject, com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, Locale locale) getContextObjects(com.liferay.portal.kernel.json.JSONObject configurationValuesJSONObject, com.liferay.portal.kernel.json.JSONObject configurationJSONObject, Object displayObject, long[] segmentsEntryIds) static ObjectgetFieldValue(com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, FragmentConfigurationField fragmentConfigurationField, Locale locale) static ObjectgetFieldValue(com.liferay.portal.kernel.json.JSONObject configurationJSONObject, com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, Locale locale, String name) static List<FragmentConfigurationField> getFragmentConfigurationFields(com.liferay.portal.kernel.json.JSONObject configurationJSONObject) static com.liferay.portal.kernel.json.JSONObjecttranslateConfiguration(com.liferay.portal.kernel.json.JSONObject jsonObject, ResourceBundle resourceBundle)
-
Constructor Details
-
FragmentEntryConfigurationParserUtil
public FragmentEntryConfigurationParserUtil()
-
-
Method Details
-
getConfigurationDefaultValuesJSONObject
public static com.liferay.portal.kernel.json.JSONObject getConfigurationDefaultValuesJSONObject(com.liferay.portal.kernel.json.JSONObject configurationJSONObject) -
getConfigurationFieldValue
public static Object getConfigurationFieldValue(com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, String fieldName, FragmentConfigurationFieldDataType fragmentConfigurationFieldDataType) -
getConfigurationJSONObject
public static com.liferay.portal.kernel.json.JSONObject getConfigurationJSONObject(com.liferay.portal.kernel.json.JSONObject configurationJSONObject, com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, Locale locale) throws com.liferay.portal.kernel.json.JSONException - Throws:
com.liferay.portal.kernel.json.JSONException
-
getContextObjects
-
getFieldValue
public static Object getFieldValue(com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, FragmentConfigurationField fragmentConfigurationField, Locale locale) -
getFieldValue
-
getFragmentConfigurationFields
public static List<FragmentConfigurationField> getFragmentConfigurationFields(com.liferay.portal.kernel.json.JSONObject configurationJSONObject) -
getFragmentEntryConfigurationParser
-
translateConfiguration
public static com.liferay.portal.kernel.json.JSONObject translateConfiguration(com.liferay.portal.kernel.json.JSONObject jsonObject, ResourceBundle resourceBundle)
-