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

java.lang.Object
  extended by com.liferay.faces.bridge.context.map.internal.ContextMapFactory
      extended by com.liferay.faces.bridge.context.map.internal.ContextMapFactoryImpl
All Implemented Interfaces:
javax.faces.FacesWrapper<ContextMapFactory>

public class ContextMapFactoryImpl
extends ContextMapFactory

Author:
Neil Griffin

Constructor Summary
ContextMapFactoryImpl()
           
 
Method Summary
 Map<String,Object> getApplicationScopeMap(BridgeContext bridgeContext)
          Returns a Map of application-scoped attributes stored in the underlying PortletContext.
protected  FacesRequestParameterMap getFacesRequestParameterMap(BridgeContext bridgeContext)
           
 Map<String,String> getFacesViewParameterMap(BridgeContext bridgeContext)
          Returns a Map of URL parameters that are found in the query-string of the current Faces view.
 Map<String,String> getInitParameterMap(javax.portlet.PortletContext portletContext)
          Returns a Map of init-param values associated with the portlet context.
 Map<String,Object> getRequestCookieMap(BridgeContext bridgeContext)
          Returns a Map of cookies associated with the request.
 Map<String,String> getRequestHeaderMap(BridgeContext bridgeContext)
          Returns a Map of request headers with a single (the first) value for each key.
 Map<String,String[]> getRequestHeaderValuesMap(BridgeContext bridgeContext)
          Returns a Map of request headers with multiple values for each key.
 Map<String,String> getRequestParameterMap(BridgeContext bridgeContext)
          Returns a Map of request parameters with a single (the first) value for each key.
 Map<String,String[]> getRequestParameterValuesMap(BridgeContext bridgeContext)
          Returns a Map of request parameters with multiple values for each key.
 Map<String,Object> getRequestScopeMap(BridgeContext bridgeContext)
          Returns a Map of request-scoped attributes stored in the underlying PortletRequest.
 Map<String,Object> getServletContextAttributeMap(javax.servlet.ServletContext servletContext)
          Returns a Map of attributes stored in the underlying ServletContext.
 Map<String,Object> getSessionScopeMap(BridgeContext bridgeContext, int scope)
          Returns a Map of session-scoped attributes stored in the underlying PortletSession.
 Map<String,List<UploadedFile>> getUploadedFileMap(BridgeContext bridgeContext)
          Returns a Map of uploaded files.
 ContextMapFactoryImpl getWrapped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMapFactoryImpl

public ContextMapFactoryImpl()
Method Detail

getApplicationScopeMap

public Map<String,Object> getApplicationScopeMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of application-scoped attributes stored in the underlying PortletContext.

Specified by:
getApplicationScopeMap in class ContextMapFactory

getFacesRequestParameterMap

protected FacesRequestParameterMap getFacesRequestParameterMap(BridgeContext bridgeContext)

getFacesViewParameterMap

public Map<String,String> getFacesViewParameterMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of URL parameters that are found in the query-string of the current Faces view.

Specified by:
getFacesViewParameterMap in class ContextMapFactory

getInitParameterMap

public Map<String,String> getInitParameterMap(javax.portlet.PortletContext portletContext)
Description copied from class: ContextMapFactory
Returns a Map of init-param values associated with the portlet context.

Specified by:
getInitParameterMap in class ContextMapFactory

getRequestCookieMap

public Map<String,Object> getRequestCookieMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of cookies associated with the request.

Specified by:
getRequestCookieMap in class ContextMapFactory

getRequestHeaderMap

public Map<String,String> getRequestHeaderMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of request headers with a single (the first) value for each key.

Specified by:
getRequestHeaderMap in class ContextMapFactory

getRequestHeaderValuesMap

public Map<String,String[]> getRequestHeaderValuesMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of request headers with multiple values for each key.

Specified by:
getRequestHeaderValuesMap in class ContextMapFactory

getRequestParameterMap

public Map<String,String> getRequestParameterMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of request parameters with a single (the first) value for each key.

Specified by:
getRequestParameterMap in class ContextMapFactory

getRequestParameterValuesMap

public Map<String,String[]> getRequestParameterValuesMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of request parameters with multiple values for each key.

Specified by:
getRequestParameterValuesMap in class ContextMapFactory

getRequestScopeMap

public Map<String,Object> getRequestScopeMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of request-scoped attributes stored in the underlying PortletRequest.

Specified by:
getRequestScopeMap in class ContextMapFactory

getServletContextAttributeMap

public Map<String,Object> getServletContextAttributeMap(javax.servlet.ServletContext servletContext)
Description copied from class: ContextMapFactory
Returns a Map of attributes stored in the underlying ServletContext.

Specified by:
getServletContextAttributeMap in class ContextMapFactory

getSessionScopeMap

public Map<String,Object> getSessionScopeMap(BridgeContext bridgeContext,
                                             int scope)
Description copied from class: ContextMapFactory
Returns a Map of session-scoped attributes stored in the underlying PortletSession.

Specified by:
getSessionScopeMap in class ContextMapFactory

getUploadedFileMap

public Map<String,List<UploadedFile>> getUploadedFileMap(BridgeContext bridgeContext)
Description copied from class: ContextMapFactory
Returns a Map of uploaded files.

Specified by:
getUploadedFileMap in class ContextMapFactory

getWrapped

public ContextMapFactoryImpl getWrapped()


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