public interface TemplateManager
Modifier and Type | Method and Description |
---|---|
void |
addContextObjects(Map<String,Object> contextObjects,
Map<String,Object> newContextObjects) |
void |
addStaticClassSupport(Map<String,Object> contextObjects,
String variableName,
Class<?> variableClass) |
void |
addTaglibApplication(Map<String,Object> contextObjects,
String applicationName,
javax.servlet.ServletContext servletContext) |
void |
addTaglibFactory(Map<String,Object> contextObjects,
String taglibLiferayHash,
javax.servlet.ServletContext servletContext) |
void |
addTaglibRequest(Map<String,Object> contextObjects,
String applicationName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
addTaglibSupport(Map<String,Object> contextObjects,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
addTaglibTheme(Map<String,Object> contextObjects,
String string,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
destroy() |
void |
destroy(ClassLoader classLoader) |
String |
getName() |
String[] |
getRestrictedVariables() |
Template |
getTemplate(List<TemplateResource> templateResources,
boolean restricted) |
Template |
getTemplate(List<TemplateResource> templateResources,
TemplateResource errorTemplateResource,
boolean restricted) |
Template |
getTemplate(TemplateResource templateResource,
boolean restricted) |
Template |
getTemplate(TemplateResource templateResource,
TemplateResource errorTemplateResource,
boolean restricted) |
void |
init() |
void addContextObjects(Map<String,Object> contextObjects, Map<String,Object> newContextObjects)
void addStaticClassSupport(Map<String,Object> contextObjects, String variableName, Class<?> variableClass)
void addTaglibApplication(Map<String,Object> contextObjects, String applicationName, javax.servlet.ServletContext servletContext)
void addTaglibFactory(Map<String,Object> contextObjects, String taglibLiferayHash, javax.servlet.ServletContext servletContext)
void addTaglibRequest(Map<String,Object> contextObjects, String applicationName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void addTaglibSupport(Map<String,Object> contextObjects, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void addTaglibTheme(Map<String,Object> contextObjects, String string, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void destroy()
void destroy(ClassLoader classLoader)
String getName()
String[] getRestrictedVariables()
Template getTemplate(List<TemplateResource> templateResources, boolean restricted)
Template getTemplate(List<TemplateResource> templateResources, TemplateResource errorTemplateResource, boolean restricted)
Template getTemplate(TemplateResource templateResource, boolean restricted)
Template getTemplate(TemplateResource templateResource, TemplateResource errorTemplateResource, boolean restricted)
void init() throws TemplateException
TemplateException