Package | Description |
---|---|
com.liferay.dynamic.data.mapping.kernel | |
com.liferay.portal.kernel.portletdisplaytemplate | |
com.liferay.portal.kernel.template |
Modifier and Type | Method and Description |
---|---|
DDMTemplate |
DDMTemplateManager.addTemplate(long userId,
long groupId,
long classNameId,
long classPK,
long resourceClassNameId,
String templateKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallImageFile,
ServiceContext serviceContext) |
static DDMTemplate |
DDMTemplateManagerUtil.addTemplate(long userId,
long groupId,
long classNameId,
long classPK,
long resourceClassNameId,
String templateKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallImageFile,
ServiceContext serviceContext) |
DDMTemplate |
DDMTemplateManager.fetchTemplate(long groupId,
long classNameId,
String templateKey) |
static DDMTemplate |
DDMTemplateManagerUtil.fetchTemplate(long groupId,
long classNameId,
String templateKey) |
DDMTemplate |
DDMTemplateManager.getTemplate(long templateId) |
static DDMTemplate |
DDMTemplateManagerUtil.getTemplate(long templateId) |
default DDMTemplate |
DDMTemplateManager.updateTemplate(long userId,
long templateId,
long classPK,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallImageFile,
ServiceContext serviceContext) |
Modifier and Type | Method and Description |
---|---|
List<DDMTemplate> |
DDMStructure.getTemplates() |
Modifier and Type | Method and Description |
---|---|
DDMTemplate |
PortletDisplayTemplateManager.getDDMTemplate(long groupId,
long classNameId,
String displayStyle,
boolean useDefault) |
static DDMTemplate |
PortletDisplayTemplateManagerUtil.getDDMTemplate(long groupId,
long classNameId,
String displayStyle,
boolean useDefault) |
Modifier and Type | Method and Description |
---|---|
String |
PortletDisplayTemplateManager.renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DDMTemplate ddmTemplate,
List<?> entries,
Map<String,Object> contextObjects) |
static String |
PortletDisplayTemplateManagerUtil.renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DDMTemplate ddmTemplate,
List<?> entries,
Map<String,Object> contextObjects) |
Constructor and Description |
---|
DDMTemplateResource(String ddmTemplateKey,
DDMTemplate ddmTemplate) |