com.liferay.faces.bridge.context.map
Class RequestAttributeMap

java.lang.Object
  extended by com.liferay.faces.util.map.AbstractPropertyMap<Object>
      extended by com.liferay.faces.bridge.context.map.RequestAttributeMap
All Implemented Interfaces:
Map<String,Object>

public class RequestAttributeMap
extends AbstractPropertyMap<Object>

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RequestAttributeMap(javax.portlet.PortletRequest portletRequest, BeanManager beanManager, String namespace, boolean preferPreDestroy, boolean distinctRequestScopedManagedBeans, Set<String> removedAttributeNames)
           
 
Method Summary
protected  AbstractPropertyMapEntry<Object> createPropertyMapEntry(String name)
           
protected  Object getProperty(String name)
           
protected  Enumeration<String> getPropertyNames()
           
 Object remove(Object key)
          According to the JSF 2.0 JavaDocs for ExternalContext.getRequestMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.
protected  void removeProperty(String name)
           
protected  void setProperty(String name, Object value)
           
 
Methods inherited from class com.liferay.faces.util.map.AbstractPropertyMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

RequestAttributeMap

public RequestAttributeMap(javax.portlet.PortletRequest portletRequest,
                           BeanManager beanManager,
                           String namespace,
                           boolean preferPreDestroy,
                           boolean distinctRequestScopedManagedBeans,
                           Set<String> removedAttributeNames)
Method Detail

remove

public Object remove(Object key)
According to the JSF 2.0 JavaDocs for ExternalContext.getRequestMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.

Specified by:
remove in interface Map<String,Object>
Overrides:
remove in class AbstractPropertyMap<Object>

createPropertyMapEntry

protected AbstractPropertyMapEntry<Object> createPropertyMapEntry(String name)
Specified by:
createPropertyMapEntry in class AbstractPropertyMap<Object>

removeProperty

protected void removeProperty(String name)
Specified by:
removeProperty in class AbstractPropertyMap<Object>

getProperty

protected Object getProperty(String name)
Specified by:
getProperty in class AbstractPropertyMap<Object>

setProperty

protected void setProperty(String name,
                           Object value)
Specified by:
setProperty in class AbstractPropertyMap<Object>

getPropertyNames

protected Enumeration<String> getPropertyNames()
Specified by:
getPropertyNames in class AbstractPropertyMap<Object>


Copyright © 2014 Liferay, Inc.. All Rights Reserved.