Liferay 6.2-ce-ga5

com.liferay.portlet.portletdisplaytemplate.util
Class PortletDisplayTemplateUtil

java.lang.Object
  extended by com.liferay.portlet.portletdisplaytemplate.util.PortletDisplayTemplateUtil

public class PortletDisplayTemplateUtil
extends Object


Constructor Summary
PortletDisplayTemplateUtil()
           
 
Method Summary
static DDMTemplate fetchDDMTemplate(long groupId, String displayStyle)
           
static long getDDMTemplateGroupId(long groupId)
           
static String getDDMTemplateUuid(String displayStyle)
           
static PortletDisplayTemplate getPortletDisplayTemplate()
           
static long getPortletDisplayTemplateDDMTemplateId(long groupId, String displayStyle)
           
static List<TemplateHandler> getPortletDisplayTemplateHandlers()
           
static Map<String,TemplateVariableGroup> getTemplateVariableGroups(String language)
           
static String renderDDMTemplate(javax.servlet.jsp.PageContext pageContext, long ddmTemplateId, List<?> entries)
           
static String renderDDMTemplate(javax.servlet.jsp.PageContext pageContext, long ddmTemplateId, List<?> entries, Map<String,Object> contextObjects)
           
 void setPortletDisplayTemplate(PortletDisplayTemplate portletDisplayTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletDisplayTemplateUtil

public PortletDisplayTemplateUtil()
Method Detail

fetchDDMTemplate

public static DDMTemplate fetchDDMTemplate(long groupId,
                                           String displayStyle)

getDDMTemplateGroupId

public static long getDDMTemplateGroupId(long groupId)

getDDMTemplateUuid

public static String getDDMTemplateUuid(String displayStyle)

getPortletDisplayTemplate

public static PortletDisplayTemplate getPortletDisplayTemplate()

getPortletDisplayTemplateDDMTemplateId

public static long getPortletDisplayTemplateDDMTemplateId(long groupId,
                                                          String displayStyle)

getPortletDisplayTemplateHandlers

public static List<TemplateHandler> getPortletDisplayTemplateHandlers()

getTemplateVariableGroups

public static Map<String,TemplateVariableGroup> getTemplateVariableGroups(String language)

renderDDMTemplate

public static String renderDDMTemplate(javax.servlet.jsp.PageContext pageContext,
                                       long ddmTemplateId,
                                       List<?> entries)
                                throws Exception
Throws:
Exception

renderDDMTemplate

public static String renderDDMTemplate(javax.servlet.jsp.PageContext pageContext,
                                       long ddmTemplateId,
                                       List<?> entries,
                                       Map<String,Object> contextObjects)
                                throws Exception
Throws:
Exception

setPortletDisplayTemplate

public void setPortletDisplayTemplate(PortletDisplayTemplate portletDisplayTemplate)

Liferay 6.2-ce-ga5