Liferay 6.2-ce-ga5

com.liferay.portal.kernel.template
Interface TemplateHandlerRegistry

All Known Implementing Classes:
TemplateHandlerRegistryImpl

public interface TemplateHandlerRegistry


Method Summary
 long[] getClassNameIds()
           
 TemplateHandler getTemplateHandler(long classNameId)
          Returns the template handler associated with the class name ID.
 TemplateHandler getTemplateHandler(String className)
          Returns the template handler associated with the class name.
 List<TemplateHandler> getTemplateHandlers()
          Returns all the template handlers.
 void register(TemplateHandler templateHandler)
          Registers the template handler.
 void unregister(TemplateHandler templateHandler)
          Unregisters the template handler.
 

Method Detail

getClassNameIds

long[] getClassNameIds()

getTemplateHandler

TemplateHandler getTemplateHandler(long classNameId)
Returns the template handler associated with the class name ID.

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

getTemplateHandler

TemplateHandler getTemplateHandler(String className)
Returns the template handler associated with the class name.

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

getTemplateHandlers

List<TemplateHandler> getTemplateHandlers()
Returns all the template handlers.

Returns:
the template handlers

register

void register(TemplateHandler templateHandler)
Registers the template handler.

Parameters:
templateHandler - the template handler to register

unregister

void unregister(TemplateHandler templateHandler)
Unregisters the template handler.

Parameters:
templateHandler - the template handler to unregister

Liferay 6.2-ce-ga5