public class RestrictedTemplate
extends Object
implements com.liferay.portal.kernel.template.Template
Constructor and Description |
---|
RestrictedTemplate(com.liferay.portal.kernel.template.Template template,
Set<String> restrictedVariables) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
doProcessTemplate(Writer writer) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Object |
get(String key) |
String[] |
getKeys() |
boolean |
isEmpty() |
Set<String> |
keySet() |
void |
prepare(javax.servlet.http.HttpServletRequest request) |
void |
processTemplate(Writer writer) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
public RestrictedTemplate(com.liferay.portal.kernel.template.Template template, Set<String> restrictedVariables)
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 void doProcessTemplate(Writer writer) throws Exception
doProcessTemplate
in interface com.liferay.portal.kernel.template.Template
Exception
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 void processTemplate(Writer writer) throws com.liferay.portal.kernel.template.TemplateException
processTemplate
in interface com.liferay.portal.kernel.template.Template
com.liferay.portal.kernel.template.TemplateException
public Object put(String key, Object value)
put
in interface Map<String,Object>
public void putAll(Map<? extends String,? extends Object> m)
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>