com.liferay.faces.bridge.context.flash
Class BridgeFlashFallbackImpl

java.lang.Object
  extended by javax.faces.context.Flash
      extended by com.liferay.faces.bridge.context.flash.BridgeFlash
          extended by com.liferay.faces.bridge.context.flash.BridgeFlashFallbackImpl
All Implemented Interfaces:
Map<String,Object>

public class BridgeFlashFallbackImpl
extends BridgeFlash

This class is a "fallback" implementation of the JSF Flash scope that only implements enough of the scope functionality to prevent errors from being thrown at runtime. In theory it should never be necessary, because the JSF runtime (Mojarra or MyFaces) provide their own implementations. See the BridgeFlashFactory class for more information.

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
BridgeFlashFallbackImpl()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 void doPostPhaseActions(javax.faces.context.FacesContext facesContext)
           
 void doPrePhaseActions(javax.faces.context.FacesContext facesContext)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 boolean isKeepMessages()
           
 boolean isRedirect()
           
 boolean isServletResponseRequired()
           
 void keep(String key)
           
 Set<String> keySet()
           
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,? extends Object> t)
           
 void putNow(String key, Object value)
           
 Object remove(Object key)
           
 void setKeepMessages(boolean newValue)
           
 void setRedirect(boolean newValue)
           
 int size()
           
 Collection<Object> 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

BridgeFlashFallbackImpl

public BridgeFlashFallbackImpl()
Method Detail

clear

public void clear()

containsKey

public boolean containsKey(Object key)

containsValue

public boolean containsValue(Object value)

doPostPhaseActions

public void doPostPhaseActions(javax.faces.context.FacesContext facesContext)
Specified by:
doPostPhaseActions in class javax.faces.context.Flash

doPrePhaseActions

public void doPrePhaseActions(javax.faces.context.FacesContext facesContext)
Specified by:
doPrePhaseActions in class javax.faces.context.Flash

entrySet

public Set<Map.Entry<String,Object>> entrySet()

get

public Object get(Object key)

keep

public void keep(String key)
Specified by:
keep in class javax.faces.context.Flash

keySet

public Set<String> keySet()

put

public Object put(String key,
                  Object value)

putAll

public void putAll(Map<? extends String,? extends Object> t)

putNow

public void putNow(String key,
                   Object value)
Specified by:
putNow in class javax.faces.context.Flash

remove

public Object remove(Object key)

size

public int size()

values

public Collection<Object> values()

isServletResponseRequired

public boolean isServletResponseRequired()
Specified by:
isServletResponseRequired in class BridgeFlash

setKeepMessages

public void setKeepMessages(boolean newValue)
Specified by:
setKeepMessages in class javax.faces.context.Flash

setRedirect

public void setRedirect(boolean newValue)
Specified by:
setRedirect in class javax.faces.context.Flash

isKeepMessages

public boolean isKeepMessages()
Specified by:
isKeepMessages in class javax.faces.context.Flash

isRedirect

public boolean isRedirect()
Specified by:
isRedirect in class javax.faces.context.Flash

isEmpty

public boolean isEmpty()


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