com.liferay.portlet.portletdisplaytemplate.util
Class PortletDisplayTemplateUtil
java.lang.Object
com.liferay.portlet.portletdisplaytemplate.util.PortletDisplayTemplateUtil
public class PortletDisplayTemplateUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletDisplayTemplateUtil
public PortletDisplayTemplateUtil()
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)