Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.util
Class DDMXSDUtil

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

public class DDMXSDUtil
extends Object


Constructor Summary
DDMXSDUtil()
           
 
Method Summary
static DDMXSD getDDMXSD()
           
static String getFieldHTMLByName(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long classNameId, long classPK, String fieldName, Fields fields, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DDMStructure ddmStructure, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DDMTemplate ddmTemplate, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String xml, Fields fields, String portletNamespace, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String xml, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String xml, Fields fields, String portletNamespace, String namespace, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String xml, Fields fields, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String xml, String portletNamespace, Locale locale)
           
static JSONArray getJSONArray(DDMStructure structure, String xsd)
           
static JSONArray getJSONArray(Document document)
           
static JSONArray getJSONArray(Element element)
           
static JSONArray getJSONArray(String xml)
           
static String getSimpleFieldHTML(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Element element, Field field, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getSimpleFieldHTMLByName(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long classNameId, long classPK, Field field, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getXSD(long classNameId, long classPK)
           
static String getXSD(String json)
           
 void setDDMXSD(DDMXSD ddmXSD)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMXSDUtil

public DDMXSDUtil()
Method Detail

getDDMXSD

public static DDMXSD getDDMXSD()

getFieldHTMLByName

public static String getFieldHTMLByName(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        long classNameId,
                                        long classPK,
                                        String fieldName,
                                        Fields fields,
                                        String portletNamespace,
                                        String namespace,
                                        String mode,
                                        boolean readOnly,
                                        Locale locale)
                                 throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             DDMStructure ddmStructure,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             DDMTemplate ddmTemplate,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             String mode,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             String xml,
                             String portletNamespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getJSONArray

public static JSONArray getJSONArray(DDMStructure structure,
                                     String xsd)
                              throws PortalException
Throws:
PortalException

getJSONArray

public static JSONArray getJSONArray(Document document)
                              throws PortalException
Throws:
PortalException

getJSONArray

public static JSONArray getJSONArray(Element element)
                              throws PortalException
Throws:
PortalException

getJSONArray

public static JSONArray getJSONArray(String xml)
                              throws PortalException
Throws:
PortalException

getSimpleFieldHTML

public static String getSimpleFieldHTML(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        Element element,
                                        Field field,
                                        String portletNamespace,
                                        String namespace,
                                        String mode,
                                        boolean readOnly,
                                        Locale locale)
                                 throws Exception
Throws:
Exception

getSimpleFieldHTMLByName

public static String getSimpleFieldHTMLByName(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response,
                                              long classNameId,
                                              long classPK,
                                              Field field,
                                              String portletNamespace,
                                              String namespace,
                                              String mode,
                                              boolean readOnly,
                                              Locale locale)
                                       throws Exception
Throws:
Exception

getXSD

public static String getXSD(long classNameId,
                            long classPK)
                     throws PortalException
Throws:
PortalException

getXSD

public static String getXSD(String json)
                     throws PortalException
Throws:
PortalException

setDDMXSD

public void setDDMXSD(DDMXSD ddmXSD)

Liferay 7.0-ce-m3