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

java.lang.Object
  extended by com.liferay.faces.bridge.context.map.internal.FacesRequestParameterMapImpl
All Implemented Interfaces:
FacesRequestParameterMap, Map<String,String[]>

public class FacesRequestParameterMapImpl
extends Object
implements FacesRequestParameterMap

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FacesRequestParameterMapImpl(Map<String,String[]> parameterMap, String namespace, BridgeRequestScope bridgeRequestScope, Map<String,String> facesViewParameterMap, String defaultRenderKitId)
           
FacesRequestParameterMapImpl(String namespace, BridgeRequestScope bridgeRequestScope, Map<String,String> facesViewParameterMap, String defaultRenderKitId)
           
 
Method Summary
 void addValue(String key, String value)
           
 void clear()
           
 boolean containsKey(Object key)
          This method provides an optimized lookup to see if a key is within the specified request parameter values map.
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,String[]>> entrySet()
           
 String[] get(Object key)
           
 String getFirst(Object key)
           
 String getNamespace()
           
protected  String getSpecialParameterValue(String parameterName)
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 String[] put(String key, String[] value)
           
 void putAll(Map<? extends String,? extends String[]> m)
           
 String[] remove(Object key)
           
 int size()
           
 Collection<String[]> 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

FacesRequestParameterMapImpl

public FacesRequestParameterMapImpl(String namespace,
                                    BridgeRequestScope bridgeRequestScope,
                                    Map<String,String> facesViewParameterMap,
                                    String defaultRenderKitId)

FacesRequestParameterMapImpl

public FacesRequestParameterMapImpl(Map<String,String[]> parameterMap,
                                    String namespace,
                                    BridgeRequestScope bridgeRequestScope,
                                    Map<String,String> facesViewParameterMap,
                                    String defaultRenderKitId)
Method Detail

addValue

public void addValue(String key,
                     String value)
Specified by:
addValue in interface FacesRequestParameterMap

clear

public void clear()
Specified by:
clear in interface Map<String,String[]>

containsKey

public boolean containsKey(Object key)
This method provides an optimized lookup to see if a key is within the specified request parameter values map.

Specified by:
containsKey in interface Map<String,String[]>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,String[]>

entrySet

public Set<Map.Entry<String,String[]>> entrySet()
Specified by:
entrySet in interface Map<String,String[]>

get

public String[] get(Object key)
Specified by:
get in interface Map<String,String[]>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,String[]>

put

public String[] put(String key,
                    String[] value)
Specified by:
put in interface Map<String,String[]>

putAll

public void putAll(Map<? extends String,? extends String[]> m)
Specified by:
putAll in interface Map<String,String[]>

remove

public String[] remove(Object key)
Specified by:
remove in interface Map<String,String[]>

size

public int size()
Specified by:
size in interface Map<String,String[]>

values

public Collection<String[]> values()
Specified by:
values in interface Map<String,String[]>

getFirst

public String getFirst(Object key)
Specified by:
getFirst in interface FacesRequestParameterMap

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface FacesRequestParameterMap

getSpecialParameterValue

protected String getSpecialParameterValue(String parameterName)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,String[]>


Copyright © 2015 Liferay, Inc.. All rights reserved.