public class PortletDisplayTemplateManagerUtil
extends Object
Constructor and Description |
---|
PortletDisplayTemplateManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static DDMTemplate |
getDDMTemplate(long groupId,
long classNameId,
String displayStyle,
boolean useDefault) |
static String |
getDisplayStyle(String ddmTemplateKey) |
static Map<String,TemplateVariableGroup> |
getTemplateVariableGroups(String language) |
static String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
DDMTemplate ddmTemplate,
List<?> entries,
Map<String,Object> contextObjects) |
static String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
long templateId,
List<?> entries,
Map<String,Object> contextObjects) |
public static DDMTemplate getDDMTemplate(long groupId, long classNameId, String displayStyle, boolean useDefault)
public static String getDisplayStyle(String ddmTemplateKey)
public static Map<String,TemplateVariableGroup> getTemplateVariableGroups(String language)
public static String renderDDMTemplate(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, DDMTemplate ddmTemplate, List<?> entries, Map<String,Object> contextObjects) throws Exception
Exception
public static String renderDDMTemplate(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, long templateId, List<?> entries, Map<String,Object> contextObjects) throws Exception
Exception