|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.template.BaseTemplateHandler
com.liferay.portal.kernel.portletdisplaytemplate.BasePortletDisplayTemplateHandler
com.liferay.portlet.breadcrumb.template.BreadcrumbPortletDisplayTemplateHandler
public class BreadcrumbPortletDisplayTemplateHandler
| Constructor Summary | |
|---|---|
BreadcrumbPortletDisplayTemplateHandler()
|
|
| Method Summary | |
|---|---|
String |
getClassName()
Returns the template handler's class name. |
Map<String,Object> |
getCustomContextObjects()
|
String |
getName(Locale locale)
Returns the template handler's name. |
String |
getResourceName()
Returns the name of the resource associated with the template. |
protected String |
getTemplatesConfigPath()
|
Map<String,TemplateVariableGroup> |
getTemplateVariableGroups(long classPK,
String language,
Locale locale)
Returns the template's map of script variable groups for which hints are displayed in the template editor palette. |
| Methods inherited from class com.liferay.portal.kernel.template.BaseTemplateHandler |
|---|
getDefaultTemplateElements, getRestrictedVariables, getTemplatesHelpContent, getTemplatesHelpPath, getTemplatesHelpPropertyKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BreadcrumbPortletDisplayTemplateHandler()
| Method Detail |
|---|
public String getClassName()
TemplateHandler
public Map<String,Object> getCustomContextObjects()
getCustomContextObjects in class BasePortletDisplayTemplateHandlerpublic String getName(Locale locale)
TemplateHandler
locale - the locale of the template handler name to get
public String getResourceName()
TemplateHandler
public Map<String,TemplateVariableGroup> getTemplateVariableGroups(long classPK,
String language,
Locale locale)
throws Exception
TemplateHandler
Script variables can be grouped arbitrarily. As examples, a group of
entity fields could be mapped to the keyword Fields, or a
group of general variables portal variables could be mapped to the phrase
General Variables, etc.
getTemplateVariableGroups in interface TemplateHandlergetTemplateVariableGroups in class BasePortletDisplayTemplateHandlerclassPK - the primary key of the entity that defines the variable
groups for the template. For example, consider specifying the
primary key of the structure associated to the template.language - the template's scripting language. Acceptable values for
the FreeMarker, Velocity, or XSL languages are TemplateConstants.LANG_TYPE_FTL, TemplateConstants.LANG_TYPE_VM, or TemplateConstants.LANG_TYPE_XSL, respectively.locale - the locale of the variable groups to get
Exception - if an exception occurred retrieving the template
variable groupsprotected String getTemplatesConfigPath()
getTemplatesConfigPath in class BaseTemplateHandler
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||