Liferay 7.0-ce-b4

com.liferay.portal.kernel.template
Class TemplateManagerUtil

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

public class TemplateManagerUtil
extends Object


Method Summary
static void destroy()
           
static void destroy(ClassLoader classLoader)
           
static Set<String> getSupportedLanguageTypes(String propertyKey)
           
static Template getTemplate(String templateManagerName, List<TemplateResource> templateResources, boolean restricted)
           
static Template getTemplate(String templateManagerName, List<TemplateResource> templateResources, TemplateResource errorTemplateResource, boolean restricted)
           
static Template getTemplate(String templateManagerName, TemplateResource templateResource, boolean restricted)
           
static Template getTemplate(String templateManagerName, TemplateResource templateResource, TemplateResource errorTemplateResource, boolean restricted)
           
static TemplateManager getTemplateManager(String templateManagerName)
           
static Set<String> getTemplateManagerNames()
           
static Map<String,TemplateManager> getTemplateManagers()
           
static boolean hasTemplateManager(String templateManagerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

destroy

public static void destroy()

destroy

public static void destroy(ClassLoader classLoader)

getSupportedLanguageTypes

public static Set<String> getSupportedLanguageTypes(String propertyKey)

getTemplate

public static Template getTemplate(String templateManagerName,
                                   List<TemplateResource> templateResources,
                                   boolean restricted)
                            throws TemplateException
Throws:
TemplateException

getTemplate

public static Template getTemplate(String templateManagerName,
                                   List<TemplateResource> templateResources,
                                   TemplateResource errorTemplateResource,
                                   boolean restricted)
                            throws TemplateException
Throws:
TemplateException

getTemplate

public static Template getTemplate(String templateManagerName,
                                   TemplateResource templateResource,
                                   boolean restricted)
                            throws TemplateException
Throws:
TemplateException

getTemplate

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

getTemplateManager

public static TemplateManager getTemplateManager(String templateManagerName)

getTemplateManagerNames

public static Set<String> getTemplateManagerNames()

getTemplateManagers

public static Map<String,TemplateManager> getTemplateManagers()

hasTemplateManager

public static boolean hasTemplateManager(String templateManagerName)

Liferay 7.0-ce-b4