Package | Description |
---|---|
com.liferay.dynamic.data.mapping.kernel | |
com.liferay.portal.kernel.portletdisplaytemplate | |
com.liferay.portal.kernel.template |
Modifier and Type | Method and Description |
---|---|
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.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.fetchTemplate(long groupId,
long classNameId,
String templateKey) |
DDMTemplate |
DDMTemplateManager.fetchTemplate(long groupId,
long classNameId,
String templateKey) |
static DDMTemplate |
DDMTemplateManagerUtil.getTemplate(long templateId) |
DDMTemplate |
DDMTemplateManager.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 |
---|---|
static DDMTemplate |
PortletDisplayTemplateManagerUtil.getDDMTemplate(long groupId,
long classNameId,
String displayStyle,
boolean useDefault) |
DDMTemplate |
PortletDisplayTemplateManager.getDDMTemplate(long groupId,
long classNameId,
String displayStyle,
boolean useDefault) |
Modifier and Type | Method and Description |
---|---|
static String |
PortletDisplayTemplateManagerUtil.renderDDMTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DDMTemplate ddmTemplate,
List<?> entries,
Map<String,Object> contextObjects) |
String |
PortletDisplayTemplateManager.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) |