Liferay 6.2.0-ce-m4

com.liferay.portal.kernel.portletdisplaytemplate
Interface PortletDisplayTemplateHandlerRegistry

All Known Implementing Classes:
PortletDisplayTemplateHandlerRegistryImpl

public interface PortletDisplayTemplateHandlerRegistry


Method Summary
 long[] getClassNameIds()
           
 PortletDisplayTemplateHandler getPortletDisplayTemplateHandler(long classNameId)
          Returns the portlet display template handler associated with the class name ID.
 PortletDisplayTemplateHandler getPortletDisplayTemplateHandler(String className)
          Returns the portlet display template handler associated with the class name.
 List<PortletDisplayTemplateHandler> getPortletDisplayTemplateHandlers()
          Returns all the portlet display template handlers.
 void register(PortletDisplayTemplateHandler portletDisplayTemplateHandler)
          Registers the portlet display template handler.
 void unregister(PortletDisplayTemplateHandler portletDisplayTemplateHandler)
          Unregisters the portlet display template handler.
 

Method Detail

getClassNameIds

long[] getClassNameIds()

getPortletDisplayTemplateHandler

PortletDisplayTemplateHandler getPortletDisplayTemplateHandler(long classNameId)
Returns the portlet display template handler associated with the class name ID.

Parameters:
classNameId - the class name ID of the portlet display template
Returns:
the portlet display template handler associated with the class name ID

getPortletDisplayTemplateHandler

PortletDisplayTemplateHandler getPortletDisplayTemplateHandler(String className)
Returns the portlet display template handler associated with the class name.

Parameters:
className - the class name of the portlet display template
Returns:
the portlet display template handler associated with the class name

getPortletDisplayTemplateHandlers

List<PortletDisplayTemplateHandler> getPortletDisplayTemplateHandlers()
Returns all the portlet display template handlers.

Returns:
the portlet display template handlers

register

void register(PortletDisplayTemplateHandler portletDisplayTemplateHandler)
Registers the portlet display template handler.

Parameters:
portletDisplayTemplateHandler - the portlet display template handler to register

unregister

void unregister(PortletDisplayTemplateHandler portletDisplayTemplateHandler)
Unregisters the portlet display template handler.

Parameters:
portletDisplayTemplateHandler - the portlet display template handler to unregister

Liferay 6.2.0-ce-m4