Interface DDM


public interface DDM
  • Field Details

  • Method Details

    • getDDMForm

      DDMForm getDDMForm(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMForm

      DDMForm getDDMForm(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMForm

      DDMForm getDDMForm(String serializedJSONDDMForm) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormFieldsJSONArray

      com.liferay.portal.kernel.json.JSONArray getDDMFormFieldsJSONArray(DDMStructure ddmStructure, String script)
    • getDDMFormFieldsJSONArray

      com.liferay.portal.kernel.json.JSONArray getDDMFormFieldsJSONArray(DDMStructureVersion ddmStructureVersion, String script)
    • getDDMFormJSONString

      String getDDMFormJSONString(DDMForm ddmForm)
    • getDDMFormValues

      DDMFormValues getDDMFormValues(DDMForm ddmForm, String serializedJSONDDMFormValues) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormValues

      DDMFormValues getDDMFormValues(long ddmStructureId, long ddmTemplateId, String fieldNamespace, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormValues

      DDMFormValues getDDMFormValues(long ddmStructureId, String fieldNamespace, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormValuesJSONString

      String getDDMFormValuesJSONString(DDMFormValues ddmFormValues)
    • getDefaultDDMFormLayout

      DDMFormLayout getDefaultDDMFormLayout(DDMForm ddmForm)
    • getDisplayFieldValue

      Serializable getDisplayFieldValue(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Serializable fieldValue, String type) throws Exception
      Throws:
      Exception
    • getFields

      Fields getFields(long ddmStructureId, DDMFormValues ddmFormValues) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFields

      Fields getFields(long ddmStructureId, long ddmTemplateId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFields

      Fields getFields(long ddmStructureId, long ddmTemplateId, String fieldNamespace, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFields

      Fields getFields(long ddmStructureId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFields

      Fields getFields(long ddmStructureId, String fieldNamespace, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getIndexedFieldValue

      Serializable getIndexedFieldValue(Serializable fieldValue, String type) throws Exception
      Throws:
      Exception
    • getStructureOrderByComparator

      com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> getStructureOrderByComparator(String orderByCol, String orderByType)
    • getTemplateOrderByComparator

      com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> getTemplateOrderByComparator(String orderByCol, String orderByType)
    • mergeFields

      Fields mergeFields(Fields newFields, Fields existingFields)
    • updateDDMFormDefaultLocale

      DDMForm updateDDMFormDefaultLocale(DDMForm ddmForm, Locale newDefaultLocale)