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

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

public class RequestParameterMapImpl
extends RequestParameterMap

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.liferay.faces.bridge.context.map.RequestParameterMap
PARAM_UPLOADED_FILES
 
Constructor Summary
RequestParameterMapImpl(BridgeContext bridgeContext)
           
 
Method Summary
 boolean containsKey(Object key)
          This method is an optimization override of the superclass.
protected  AbstractPropertyMapEntry<String> createPropertyMapEntry(String name)
           
protected  FacesViewParameterMap getFacesViewParameterMap()
          The FacesViewParameterMap needs to be lazy-initialized because it might throw a BridgeInvalidViewPathException exception, as in the case of the TCK portletSetsInvalidViewPathTest.
protected  Map<String,String> getPreservedActionParameterMap()
          The PreservedActionParameterMap needs to be lazy-initialized because it relies on the BridgeRequestScope which isn't available during the RESOURCE_PHASE.
protected  String getProperty(String name)
          This method returns the value of the specified parameter name according to the current portlet request.
protected  Enumeration<String> getPropertyNames()
           
protected  void removeProperty(String name)
           
protected  void setProperty(String name, String value)
           
 
Methods inherited from class com.liferay.faces.util.map.AbstractPropertyMap
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, 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

RequestParameterMapImpl

public RequestParameterMapImpl(BridgeContext bridgeContext)
Method Detail

containsKey

public boolean containsKey(Object key)
This method is an optimization override of the superclass.

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

createPropertyMapEntry

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

removeProperty

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

getFacesViewParameterMap

protected FacesViewParameterMap getFacesViewParameterMap()
The FacesViewParameterMap needs to be lazy-initialized because it might throw a BridgeInvalidViewPathException exception, as in the case of the TCK portletSetsInvalidViewPathTest.


getPreservedActionParameterMap

protected Map<String,String> getPreservedActionParameterMap()
The PreservedActionParameterMap needs to be lazy-initialized because it relies on the BridgeRequestScope which isn't available during the RESOURCE_PHASE.


getProperty

protected String getProperty(String name)
This method returns the value of the specified parameter name according to the current portlet request.

Specified by:
getProperty in class AbstractPropertyMap<String>

setProperty

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

getPropertyNames

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


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