com.liferay.portal.kernel.velocity
Interface VelocityEngine
- All Known Implementing Classes:
- VelocityEngineImpl
public interface VelocityEngine
flushTemplate
void flushTemplate(String resource)
getEmptyContext
VelocityContext getEmptyContext()
getRestrictedToolsContext
VelocityContext getRestrictedToolsContext()
getStandardToolsContext
VelocityContext getStandardToolsContext()
getWrappedRestrictedToolsContext
VelocityContext getWrappedRestrictedToolsContext()
getWrappedStandardToolsContext
VelocityContext getWrappedStandardToolsContext()
init
void init()
throws Exception
- Throws:
Exception
mergeTemplate
boolean mergeTemplate(String velocityTemplateId,
String velocityTemplateContent,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Throws:
Exception
mergeTemplate
boolean mergeTemplate(String velocityTemplateId,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Throws:
Exception
resourceExists
boolean resourceExists(String resource)