Liferay 6.0.5

com.liferay.portal.kernel.velocity
Interface VelocityEngine

All Known Implementing Classes:
VelocityEngineImpl

public interface VelocityEngine


Method Summary
 void flushTemplate(String resource)
           
 VelocityContext getEmptyContext()
           
 VelocityContext getRestrictedToolsContext()
           
 VelocityContext getStandardToolsContext()
           
 VelocityContext getWrappedRestrictedToolsContext()
           
 VelocityContext getWrappedStandardToolsContext()
           
 void init()
           
 boolean mergeTemplate(String velocityTemplateId, String velocityTemplateContent, VelocityContext velocityContext, Writer writer)
           
 boolean mergeTemplate(String velocityTemplateId, VelocityContext velocityContext, Writer writer)
           
 boolean resourceExists(String resource)
           
 

Method Detail

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)

Liferay 6.0.5