Class FragmentEntryConfigurationParserUtil

java.lang.Object
com.liferay.fragment.util.configuration.FragmentEntryConfigurationParserUtil

public class FragmentEntryConfigurationParserUtil extends Object
  • 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

      public static Map<String,Object> getContextObjects(com.liferay.portal.kernel.json.JSONObject configurationValuesJSONObject, com.liferay.portal.kernel.json.JSONObject configurationJSONObject, Object displayObject, long[] segmentsEntryIds)
    • getFieldValue

      public static Object getFieldValue(com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, FragmentConfigurationField fragmentConfigurationField, Locale locale)
    • getFieldValue

      public static Object getFieldValue(com.liferay.portal.kernel.json.JSONObject configurationJSONObject, com.liferay.portal.kernel.json.JSONObject editableValuesJSONObject, Locale locale, String name)
    • getFragmentConfigurationFields

      public static List<FragmentConfigurationField> getFragmentConfigurationFields(com.liferay.portal.kernel.json.JSONObject configurationJSONObject)
    • getFragmentEntryConfigurationParser

      public static FragmentEntryConfigurationParser getFragmentEntryConfigurationParser()
    • translateConfiguration

      public static com.liferay.portal.kernel.json.JSONObject translateConfiguration(com.liferay.portal.kernel.json.JSONObject jsonObject, ResourceBundle resourceBundle)