Liferay 6.2-ce-ga5

com.liferay.portal.template
Class TemplateHandlerRegistryImpl

java.lang.Object
  extended by com.liferay.portal.template.TemplateHandlerRegistryImpl
All Implemented Interfaces:
TemplateHandlerRegistry

public class TemplateHandlerRegistryImpl
extends Object
implements TemplateHandlerRegistry


Constructor Summary
TemplateHandlerRegistryImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateHandlerRegistryImpl

public TemplateHandlerRegistryImpl()
Method Detail

getClassNameIds

public long[] getClassNameIds()
Specified by:
getClassNameIds in interface TemplateHandlerRegistry

getTemplateHandler

public TemplateHandler getTemplateHandler(long classNameId)
Description copied from interface: TemplateHandlerRegistry
Returns the template handler associated with the class name ID.

Specified by:
getTemplateHandler in interface TemplateHandlerRegistry
Parameters:
classNameId - the class name ID of the template
Returns:
the template handler associated with the class name ID

getTemplateHandler

public TemplateHandler getTemplateHandler(String className)
Description copied from interface: TemplateHandlerRegistry
Returns the template handler associated with the class name.

Specified by:
getTemplateHandler in interface TemplateHandlerRegistry
Parameters:
className - the class name of the template
Returns:
the template handler associated with the class name

getTemplateHandlers

public List<TemplateHandler> getTemplateHandlers()
Description copied from interface: TemplateHandlerRegistry
Returns all the template handlers.

Specified by:
getTemplateHandlers in interface TemplateHandlerRegistry
Returns:
the template handlers

register

public void register(TemplateHandler templateHandler)
Description copied from interface: TemplateHandlerRegistry
Registers the template handler.

Specified by:
register in interface TemplateHandlerRegistry
Parameters:
templateHandler - the template handler to register

unregister

public void unregister(TemplateHandler templateHandler)
Description copied from interface: TemplateHandlerRegistry
Unregisters the template handler.

Specified by:
unregister in interface TemplateHandlerRegistry
Parameters:
templateHandler - the template handler to unregister

Liferay 6.2-ce-ga5