Liferay 6.2-ce-ga5

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.jsp.PageContext pageContext, long classNameId, long classPK, String fieldName, Fields fields, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, DDMStructure ddmStructure, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, DDMTemplate ddmTemplate, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, String xml, Fields fields, String portletNamespace, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, String xml, Fields fields, String portletNamespace, String namespace, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, String xml, Fields fields, String portletNamespace, String namespace, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, String xml, Fields fields, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getHTML(javax.servlet.jsp.PageContext pageContext, 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.jsp.PageContext pageContext, Element element, Field field, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getSimpleFieldHTMLByName(javax.servlet.jsp.PageContext pageContext, long classNameId, long classPK, Field field, String portletNamespace, String namespace, String mode, boolean readOnly, Locale locale)
           
static String getXSD(long classNameId, long classPK)
           
 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.jsp.PageContext pageContext,
                                        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.jsp.PageContext pageContext,
                             DDMStructure ddmStructure,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.jsp.PageContext pageContext,
                             DDMTemplate ddmTemplate,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.jsp.PageContext pageContext,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.jsp.PageContext pageContext,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             boolean readOnly,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.jsp.PageContext pageContext,
                             String xml,
                             Fields fields,
                             String portletNamespace,
                             String namespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getHTML

public static String getHTML(javax.servlet.jsp.PageContext pageContext,
                             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.jsp.PageContext pageContext,
                             String xml,
                             String portletNamespace,
                             Locale locale)
                      throws Exception
Throws:
Exception

getJSONArray

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

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,
                                     SystemException
Throws:
PortalException
SystemException

getSimpleFieldHTML

public static String getSimpleFieldHTML(javax.servlet.jsp.PageContext pageContext,
                                        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.jsp.PageContext pageContext,
                                              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,
                            SystemException
Throws:
PortalException
SystemException

setDDMXSD

public void setDDMXSD(DDMXSD ddmXSD)

Liferay 6.2-ce-ga5