Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.util
Class DDMTemplateHelperImpl

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.DDMTemplateHelperImpl
All Implemented Interfaces:
DDMTemplateHelper

public class DDMTemplateHelperImpl
extends Object
implements DDMTemplateHelper


Constructor Summary
DDMTemplateHelperImpl()
           
 
Method Summary
 DDMStructure fetchStructure(DDMTemplate template)
           
protected  JSONObject getAutocompleteClassJSONObject(Class<?> clazz)
           
 String getAutocompleteJSON(javax.servlet.http.HttpServletRequest request, String language)
           
protected  List<TemplateVariableDefinition> getAutocompleteTemplateVariableDefinitions(javax.servlet.http.HttpServletRequest request, String language)
           
protected  JSONObject getAutocompleteVariableJSONObject(Class<?> clazz)
           
 boolean isAutocompleteEnabled(String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateHelperImpl

public DDMTemplateHelperImpl()
Method Detail

fetchStructure

public DDMStructure fetchStructure(DDMTemplate template)
Specified by:
fetchStructure in interface DDMTemplateHelper

getAutocompleteJSON

public String getAutocompleteJSON(javax.servlet.http.HttpServletRequest request,
                                  String language)
                           throws Exception
Specified by:
getAutocompleteJSON in interface DDMTemplateHelper
Throws:
Exception

isAutocompleteEnabled

public boolean isAutocompleteEnabled(String language)
Specified by:
isAutocompleteEnabled in interface DDMTemplateHelper

getAutocompleteClassJSONObject

protected JSONObject getAutocompleteClassJSONObject(Class<?> clazz)

getAutocompleteTemplateVariableDefinitions

protected List<TemplateVariableDefinition> getAutocompleteTemplateVariableDefinitions(javax.servlet.http.HttpServletRequest request,
                                                                                      String language)
                                                                               throws Exception
Throws:
Exception

getAutocompleteVariableJSONObject

protected JSONObject getAutocompleteVariableJSONObject(Class<?> clazz)

Liferay 6.2-ce-ga5