public class PortletDisplayTemplateUtil
extends java.lang.Object
Constructor and Description |
---|
PortletDisplayTemplateUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.dynamic.data.mapping.model.DDMTemplate |
fetchDDMTemplate(long groupId,
java.lang.String displayStyle) |
static long |
getDDMTemplateGroupId(long groupId) |
static java.lang.String |
getDDMTemplateKey(java.lang.String displayStyle) |
static java.lang.String |
getDDMTemplateUuid(java.lang.String displayStyle)
Deprecated.
As of Wilberforce (7.0.x)
|
static com.liferay.dynamic.data.mapping.model.DDMTemplate |
getDefaultPortletDisplayTemplateDDMTemplate(long groupId,
long classNameId) |
static java.lang.String |
getDisplayStyle(java.lang.String ddmTemplateKey) |
static PortletDisplayTemplate |
getPortletDisplayTemplate() |
static com.liferay.dynamic.data.mapping.model.DDMTemplate |
getPortletDisplayTemplateDDMTemplate(long groupId,
long classNameId,
java.lang.String displayStyle) |
static com.liferay.dynamic.data.mapping.model.DDMTemplate |
getPortletDisplayTemplateDDMTemplate(long groupId,
long classNameId,
java.lang.String displayStyle,
boolean useDefault) |
static long |
getPortletDisplayTemplateDDMTemplateId(long groupId,
java.lang.String displayStyle)
Deprecated.
As of Wilberforce (7.0.x)
|
static java.util.List<com.liferay.portal.kernel.template.TemplateHandler> |
getPortletDisplayTemplateHandlers() |
static java.util.Map<java.lang.String,com.liferay.portal.kernel.template.TemplateVariableGroup> |
getTemplateVariableGroups(java.lang.String language) |
static java.lang.String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.dynamic.data.mapping.model.DDMTemplate ddmTemplate,
java.util.List<?> entries) |
static java.lang.String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.dynamic.data.mapping.model.DDMTemplate ddmTemplate,
java.util.List<?> entries,
java.util.Map<java.lang.String,java.lang.Object> contextObjects) |
static java.lang.String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long ddmTemplateId,
java.util.List<?> entries) |
static java.lang.String |
renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long ddmTemplateId,
java.util.List<?> entries,
java.util.Map<java.lang.String,java.lang.Object> contextObjects) |
public static com.liferay.dynamic.data.mapping.model.DDMTemplate fetchDDMTemplate(long groupId, java.lang.String displayStyle)
public static long getDDMTemplateGroupId(long groupId)
public static java.lang.String getDDMTemplateKey(java.lang.String displayStyle)
@Deprecated public static java.lang.String getDDMTemplateUuid(java.lang.String displayStyle)
public static com.liferay.dynamic.data.mapping.model.DDMTemplate getDefaultPortletDisplayTemplateDDMTemplate(long groupId, long classNameId)
public static java.lang.String getDisplayStyle(java.lang.String ddmTemplateKey)
public static PortletDisplayTemplate getPortletDisplayTemplate()
public static com.liferay.dynamic.data.mapping.model.DDMTemplate getPortletDisplayTemplateDDMTemplate(long groupId, long classNameId, java.lang.String displayStyle)
public static com.liferay.dynamic.data.mapping.model.DDMTemplate getPortletDisplayTemplateDDMTemplate(long groupId, long classNameId, java.lang.String displayStyle, boolean useDefault)
@Deprecated public static long getPortletDisplayTemplateDDMTemplateId(long groupId, java.lang.String displayStyle)
public static java.util.List<com.liferay.portal.kernel.template.TemplateHandler> getPortletDisplayTemplateHandlers()
public static java.util.Map<java.lang.String,com.liferay.portal.kernel.template.TemplateVariableGroup> getTemplateVariableGroups(java.lang.String language)
public static java.lang.String renderDDMTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.dynamic.data.mapping.model.DDMTemplate ddmTemplate, java.util.List<?> entries) throws java.lang.Exception
java.lang.Exception
public static java.lang.String renderDDMTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.dynamic.data.mapping.model.DDMTemplate ddmTemplate, java.util.List<?> entries, java.util.Map<java.lang.String,java.lang.Object> contextObjects) throws java.lang.Exception
java.lang.Exception
public static java.lang.String renderDDMTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long ddmTemplateId, java.util.List<?> entries) throws java.lang.Exception
java.lang.Exception
public static java.lang.String renderDDMTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long ddmTemplateId, java.util.List<?> entries, java.util.Map<java.lang.String,java.lang.Object> contextObjects) throws java.lang.Exception
java.lang.Exception