com.liferay.faces.bridge.context.flash.internal
Class BridgeFlashBase
java.lang.Object
javax.faces.context.Flash
com.liferay.faces.bridge.context.flash.internal.BridgeFlash
com.liferay.faces.bridge.context.flash.internal.BridgeFlashBase
- All Implemented Interfaces:
- Map<String,Object>
- Direct Known Subclasses:
- BridgeFlashMojarraImpl, BridgeFlashMyFacesImpl
public abstract class BridgeFlashBase
- extends BridgeFlash
This abstract class decorates/wraps the Flash implementation provided by the JSF runtime. Specifically, this
wrapper was created to workaround some Servlet-API dependencies in some of the methods in the com.sun.faces.context.flash.ELFlash implementation provided by Mojarra. See the ExternalContextImpl method for usage of the Mojarra workaround.
- Author:
- Neil Griffin
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeFlashBase
public BridgeFlashBase()
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> values)
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()
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
getWrapped
public abstract javax.faces.context.Flash getWrapped()
isEmpty
public boolean isEmpty()
Copyright © 2015 Liferay, Inc.. All rights reserved.