|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.template.TemplateHandlerRegistryImpl
public class TemplateHandlerRegistryImpl
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 |
---|
public TemplateHandlerRegistryImpl()
Method Detail |
---|
public long[] getClassNameIds()
getClassNameIds
in interface TemplateHandlerRegistry
public TemplateHandler getTemplateHandler(long classNameId)
TemplateHandlerRegistry
getTemplateHandler
in interface TemplateHandlerRegistry
classNameId
- the class name ID of the template
public TemplateHandler getTemplateHandler(String className)
TemplateHandlerRegistry
getTemplateHandler
in interface TemplateHandlerRegistry
className
- the class name of the template
public List<TemplateHandler> getTemplateHandlers()
TemplateHandlerRegistry
getTemplateHandlers
in interface TemplateHandlerRegistry
public void register(TemplateHandler templateHandler)
TemplateHandlerRegistry
register
in interface TemplateHandlerRegistry
templateHandler
- the template handler to registerpublic void unregister(TemplateHandler templateHandler)
TemplateHandlerRegistry
unregister
in interface TemplateHandlerRegistry
templateHandler
- the template handler to unregister
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |