com.liferay.faces.bridge.context.map.internal
Class RequestScopeMap

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

public class RequestScopeMap
extends AbstractPropertyMap<Object>

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RequestScopeMap(BridgeContext bridgeContext)
           
 
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

RequestScopeMap

public RequestScopeMap(BridgeContext bridgeContext)
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 © 2015 Liferay, Inc.. All rights reserved.