public class DefaultTemplateResourceLoader
extends Object
implements com.liferay.portal.kernel.template.TemplateResourceLoader
Constructor and Description |
---|
DefaultTemplateResourceLoader(String name,
long modificationCheckInterval,
com.liferay.portal.kernel.cache.MultiVMPool multiVMPool,
com.liferay.portal.kernel.cache.SingleVMPool singleVMPool) |
DefaultTemplateResourceLoader(String name,
String[] templateResourceParserClassNames,
long modificationCheckInterval,
com.liferay.portal.kernel.cache.MultiVMPool multiVMPool,
com.liferay.portal.kernel.cache.SingleVMPool singleVMPool)
Deprecated.
As of Wilberforce (7.0.x)
|
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
void |
clearCache(String templateId) |
void |
destroy() |
String |
getName() |
com.liferay.portal.kernel.template.TemplateResource |
getTemplateResource(String templateId) |
boolean |
hasTemplateResource(String templateId) |
public DefaultTemplateResourceLoader(String name, long modificationCheckInterval, com.liferay.portal.kernel.cache.MultiVMPool multiVMPool, com.liferay.portal.kernel.cache.SingleVMPool singleVMPool)
@Deprecated public DefaultTemplateResourceLoader(String name, String[] templateResourceParserClassNames, long modificationCheckInterval, com.liferay.portal.kernel.cache.MultiVMPool multiVMPool, com.liferay.portal.kernel.cache.SingleVMPool singleVMPool)
public void clearCache()
clearCache
in interface com.liferay.portal.kernel.template.TemplateResourceLoader
public void clearCache(String templateId)
clearCache
in interface com.liferay.portal.kernel.template.TemplateResourceLoader
public void destroy()
destroy
in interface com.liferay.portal.kernel.template.TemplateResourceLoader
public String getName()
getName
in interface com.liferay.portal.kernel.template.TemplateResourceLoader
public com.liferay.portal.kernel.template.TemplateResource getTemplateResource(String templateId)
getTemplateResource
in interface com.liferay.portal.kernel.template.TemplateResourceLoader
public boolean hasTemplateResource(String templateId)
hasTemplateResource
in interface com.liferay.portal.kernel.template.TemplateResourceLoader