Liferay 6.2.0-ce-m3

com.liferay.portal.kernel.template
Class TemplateManagerUtil

java.lang.Object
  extended by com.liferay.portal.kernel.template.TemplateManagerUtil

public class TemplateManagerUtil
extends Object


Constructor Summary
TemplateManagerUtil()
           
 
Method Summary
static void destroy()
           
static void destroy(ClassLoader classLoader)
           
static Template getTemplate(String templateManagerName, TemplateResource templateResource, TemplateContextType templateContextType)
           
static Template getTemplate(String templateManagerName, TemplateResource templateResource, TemplateResource errorTemplateResource, TemplateContextType templateContextType)
           
static TemplateManager getTemplateManager(String templateManagerName)
           
static Set<String> getTemplateManagerNames(String templateManagerName)
           
static Map<String,TemplateManager> getTemplateManagers()
           
static boolean hasTemplateManager(String templateManagerName)
           
static void init()
           
static void registerTemplateManager(TemplateManager templateManager)
           
 void setTemplateManagers(List<TemplateManager> templateManagers)
           
static void unregisterTemplateManager(String templateManagerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateManagerUtil

public TemplateManagerUtil()
Method Detail

destroy

public static void destroy()

destroy

public static void destroy(ClassLoader classLoader)

getTemplate

public static Template getTemplate(String templateManagerName,
                                   TemplateResource templateResource,
                                   TemplateContextType templateContextType)
                            throws TemplateException
Throws:
TemplateException

getTemplate

public static Template getTemplate(String templateManagerName,
                                   TemplateResource templateResource,
                                   TemplateResource errorTemplateResource,
                                   TemplateContextType templateContextType)
                            throws TemplateException
Throws:
TemplateException

getTemplateManager

public static TemplateManager getTemplateManager(String templateManagerName)

getTemplateManagerNames

public static Set<String> getTemplateManagerNames(String templateManagerName)

getTemplateManagers

public static Map<String,TemplateManager> getTemplateManagers()

hasTemplateManager

public static boolean hasTemplateManager(String templateManagerName)

init

public static void init()
                 throws TemplateException
Throws:
TemplateException

registerTemplateManager

public static void registerTemplateManager(TemplateManager templateManager)
                                    throws TemplateException
Throws:
TemplateException

unregisterTemplateManager

public static void unregisterTemplateManager(String templateManagerName)

setTemplateManagers

public void setTemplateManagers(List<TemplateManager> templateManagers)

Liferay 6.2.0-ce-m3