com.liferay.portlet.blogs.template
Class BlogsPortletDisplayTemplateHandler
java.lang.Object
com.liferay.portal.kernel.template.BaseTemplateHandler
com.liferay.portal.kernel.portletdisplaytemplate.BasePortletDisplayTemplateHandler
com.liferay.portlet.blogs.template.BlogsPortletDisplayTemplateHandler
- All Implemented Interfaces:
- TemplateHandler
public class BlogsPortletDisplayTemplateHandler
- extends BasePortletDisplayTemplateHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsPortletDisplayTemplateHandler
public BlogsPortletDisplayTemplateHandler()
getClassName
public String getClassName()
- Description copied from interface:
TemplateHandler
- Returns the class name of the template handler.
- Returns:
- the class name of the template handler
getName
public String getName(Locale locale)
- Description copied from interface:
TemplateHandler
- Returns the name of the template handler.
- Parameters:
locale
- the locale of the template handler name to get
- Returns:
- the name of the template handler
getResourceName
public String getResourceName()
- Description copied from interface:
TemplateHandler
- Returns the name of the resource the template is associated with.
Permissions on the resource are checked when adding a new template.
- Returns:
- the name of the resource
getTemplateVariableGroups
public Map<String,TemplateVariableGroup> getTemplateVariableGroups(long classPK,
String language,
Locale locale)
throws Exception
- Specified by:
getTemplateVariableGroups
in interface TemplateHandler
- Overrides:
getTemplateVariableGroups
in class BasePortletDisplayTemplateHandler
- Throws:
Exception
getTemplatesConfigPath
protected String getTemplatesConfigPath()
- Overrides:
getTemplatesConfigPath
in class BaseTemplateHandler