public abstract class AbstractTemplate
extends Object
implements com.liferay.portal.kernel.template.Template
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
context |
protected com.liferay.portal.kernel.template.TemplateResource |
errorTemplateResource |
Constructor and Description |
---|
AbstractTemplate(com.liferay.portal.kernel.template.TemplateResource errorTemplateResource,
Map<String,Object> context,
TemplateContextHelper templateContextHelper,
String templateManagerName) |
Modifier and Type | Method and Description |
---|---|
protected void |
_write(Writer writer)
Deprecated.
As of Wilberforce (7.0.x), replaced by
write(Writer) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Object |
get(String key) |
String[] |
getKeys() |
protected String |
getTemplateResourceUUID(com.liferay.portal.kernel.template.TemplateResource templateResource) |
protected abstract void |
handleException(Exception exception,
Writer writer) |
boolean |
isEmpty() |
Set<String> |
keySet() |
void |
prepare(javax.servlet.http.HttpServletRequest request) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> map) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
protected void |
write(Writer writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Map<String,Object> context
protected com.liferay.portal.kernel.template.TemplateResource errorTemplateResource
public AbstractTemplate(com.liferay.portal.kernel.template.TemplateResource errorTemplateResource, Map<String,Object> context, TemplateContextHelper templateContextHelper, String templateManagerName)
public void clear()
clear
in interface Map<String,Object>
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public Set<Map.Entry<String,Object>> entrySet()
entrySet
in interface Map<String,Object>
public Object get(Object key)
get
in interface Map<String,Object>
public Object get(String key)
get
in interface com.liferay.portal.kernel.template.Template
public String[] getKeys()
getKeys
in interface com.liferay.portal.kernel.template.Template
public boolean isEmpty()
isEmpty
in interface Map<String,Object>
public Set<String> keySet()
keySet
in interface Map<String,Object>
public void prepare(javax.servlet.http.HttpServletRequest request)
prepare
in interface com.liferay.portal.kernel.template.Template
public Object put(String key, Object value)
put
in interface Map<String,Object>
public void putAll(Map<? extends String,? extends Object> map)
putAll
in interface Map<String,Object>
public Object remove(Object key)
remove
in interface Map<String,Object>
public int size()
size
in interface Map<String,Object>
public Collection<Object> values()
values
in interface Map<String,Object>
@Deprecated protected void _write(Writer writer) throws com.liferay.portal.kernel.template.TemplateException
write(Writer)
com.liferay.portal.kernel.template.TemplateException
protected String getTemplateResourceUUID(com.liferay.portal.kernel.template.TemplateResource templateResource)
protected abstract void handleException(Exception exception, Writer writer) throws com.liferay.portal.kernel.template.TemplateException
com.liferay.portal.kernel.template.TemplateException
protected void write(Writer writer) throws com.liferay.portal.kernel.template.TemplateException
com.liferay.portal.kernel.template.TemplateException