org.jboss.seam.mock
public class MockStateManager extends javax.faces.application.StateManager
Constructor and Description |
---|
MockStateManager() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getComponentStateToSave(javax.faces.context.FacesContext ctx) |
protected Object |
getTreeStructureToSave(javax.faces.context.FacesContext ctx) |
protected void |
restoreComponentState(javax.faces.context.FacesContext ctx,
javax.faces.component.UIViewRoot viewRoot,
String x) |
protected javax.faces.component.UIViewRoot |
restoreTreeStructure(javax.faces.context.FacesContext ctx,
String x,
String y) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext ctx,
String x,
String y) |
javax.faces.application.StateManager.SerializedView |
saveSerializedView(javax.faces.context.FacesContext ctx) |
Object |
saveView(javax.faces.context.FacesContext ctx) |
void |
writeState(javax.faces.context.FacesContext ctx,
Object state) |
void |
writeState(javax.faces.context.FacesContext ctx,
javax.faces.application.StateManager.SerializedView sv) |
public Object saveView(javax.faces.context.FacesContext ctx)
saveView
in class javax.faces.application.StateManager
public void writeState(javax.faces.context.FacesContext ctx, Object state) throws IOException
writeState
in class javax.faces.application.StateManager
IOException
public javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext ctx)
saveSerializedView
in class javax.faces.application.StateManager
protected Object getTreeStructureToSave(javax.faces.context.FacesContext ctx)
getTreeStructureToSave
in class javax.faces.application.StateManager
protected Object getComponentStateToSave(javax.faces.context.FacesContext ctx)
getComponentStateToSave
in class javax.faces.application.StateManager
public void writeState(javax.faces.context.FacesContext ctx, javax.faces.application.StateManager.SerializedView sv) throws IOException
writeState
in class javax.faces.application.StateManager
IOException
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext ctx, String x, String y)
restoreView
in class javax.faces.application.StateManager
protected javax.faces.component.UIViewRoot restoreTreeStructure(javax.faces.context.FacesContext ctx, String x, String y)
restoreTreeStructure
in class javax.faces.application.StateManager
protected void restoreComponentState(javax.faces.context.FacesContext ctx, javax.faces.component.UIViewRoot viewRoot, String x)
restoreComponentState
in class javax.faces.application.StateManager
Copyright © 2015 Seam Framework. All Rights Reserved.