com.liferay.portal.kernel.portletdisplaytemplate
Class BasePortletDisplayTemplateHandler
java.lang.Object
com.liferay.portal.kernel.portletdisplaytemplate.BasePortletDisplayTemplateHandler
- All Implemented Interfaces:
- PortletDisplayTemplateHandler
public abstract class BasePortletDisplayTemplateHandler
- extends Object
- implements PortletDisplayTemplateHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasePortletDisplayTemplateHandler
public BasePortletDisplayTemplateHandler()
getDefaultTemplateElements
public List<Element> getDefaultTemplateElements()
throws Exception
- Description copied from interface:
PortletDisplayTemplateHandler
- Returns a list of elements containing the information of the portlet
display templates to be installed by default.
- Specified by:
getDefaultTemplateElements in interface PortletDisplayTemplateHandler
- Returns:
- a list of elements containing the information of the portlet
display templates to be installed by default. These templates
will be installed when registering the portlet
- Throws:
Exception - if an exception occurred assembling the default
template elements
getTemplatesHelpPath
public String getTemplatesHelpPath(String language)
- Description copied from interface:
PortletDisplayTemplateHandler
- Returns the path to the help template of the portlet display.
- Specified by:
getTemplatesHelpPath in interface PortletDisplayTemplateHandler
- Parameters:
language - the language of the template
- Returns:
- the path to the help template of the portlet display. This
template will be shown as a help message when the user creates a
new portlet display template.
getTemplatesConfigPath
protected String getTemplatesConfigPath()
getTemplatesHelpKey
protected String getTemplatesHelpKey()