org.apache.myfaces.tobago.context
Class TransientStateHolder

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

public class TransientStateHolder
extends java.lang.Object
implements StateHolder, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TransientStateHolder()
           
TransientStateHolder(java.lang.Object object)
           
 
Method Summary
 java.lang.Object get()
           
 boolean isEmpty()
           
 boolean isTransient()
           
 void put(java.lang.Object object)
           
 void restoreState(FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(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(java.lang.Object object)
Method Detail

saveState

public java.lang.Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

put

public void put(java.lang.Object object)

isEmpty

public boolean isEmpty()

get

public java.lang.Object get()

restoreState

public void restoreState(FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder


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