org.apache.myfaces.tobago.context
Class TransientStateHolder

java.lang.Object
  extended by org.apache.myfaces.tobago.context.TransientStateHolder
All Implemented Interfaces:
Serializable, javax.faces.component.StateHolder

public class TransientStateHolder
extends Object
implements javax.faces.component.StateHolder, Serializable

See Also:
Serialized Form

Constructor Summary
TransientStateHolder()
           
TransientStateHolder(Object object)
           
 
Method Summary
 Object get()
           
 boolean isEmpty()
           
 boolean isTransient()
           
 void put(Object object)
           
 void restoreState(javax.faces.context.FacesContext context, Object state)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientStateHolder

public TransientStateHolder()

TransientStateHolder

public TransientStateHolder(Object object)
Method Detail

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

put

public void put(Object object)

isEmpty

public boolean isEmpty()

get

public Object get()

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface javax.faces.component.StateHolder


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.