Liferay 6.1.10-ee-ga1

com.liferay.portal.kernel.velocity
Interface VelocityEngine


public interface VelocityEngine


Method Summary
 void flushTemplate(String velocityTemplateId)
           
 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 velocityTemplateId)

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.1.10-ee-ga1