org.apache.myfaces.view.facelets.pool
Class ViewEntry

java.lang.Object
  extended by org.apache.myfaces.view.facelets.pool.ViewEntry
Direct Known Subclasses:
SoftViewEntry, WeakViewEntry

public abstract class ViewEntry
extends Object

Author:
Leonardo Uribe

Constructor Summary
ViewEntry()
           
 
Method Summary
abstract  boolean activate()
          Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values.
abstract  RestoreViewFromPoolResult getResult()
           
abstract  UIViewRoot getViewRoot()
           
abstract  void setResult(RestoreViewFromPoolResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewEntry

public ViewEntry()
Method Detail

getViewRoot

public abstract UIViewRoot getViewRoot()
Returns:
the viewRoot

activate

public abstract boolean activate()
Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values. It returns true or false if the Entry is still active or not


getResult

public abstract RestoreViewFromPoolResult getResult()
Returns:
the result

setResult

public abstract void setResult(RestoreViewFromPoolResult result)
Parameters:
result - the result to set


Copyright © 2014 The Apache Software Foundation. All rights reserved.