public class MockStateManager extends javax.faces.application.StateManager implements FacesMockController.MockObject
| Constructor and Description |
|---|
MockStateManager()
Default constructor
|
MockStateManager(org.easymock.IMocksControl control,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.easymock.IMocksControl |
getControl() |
String |
getViewState(javax.faces.context.FacesContext arg0) |
int |
hashCode() |
boolean |
isSavingStateInClient(javax.faces.context.FacesContext arg0) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext arg0,
String arg1,
String arg2) |
javax.faces.application.StateManager.SerializedView |
saveSerializedView(javax.faces.context.FacesContext arg0) |
Object |
saveView(javax.faces.context.FacesContext arg0) |
String |
toString() |
void |
writeState(javax.faces.context.FacesContext arg0,
Object arg1) |
void |
writeState(javax.faces.context.FacesContext arg0,
javax.faces.application.StateManager.SerializedView arg1) |
public MockStateManager()
public MockStateManager(org.easymock.IMocksControl control,
String name)
control - public org.easymock.IMocksControl getControl()
getControl in interface FacesMockController.MockObjectpublic Object saveView(javax.faces.context.FacesContext arg0)
saveView in class javax.faces.application.StateManagerpublic boolean isSavingStateInClient(javax.faces.context.FacesContext arg0)
isSavingStateInClient in class javax.faces.application.StateManagerpublic String getViewState(javax.faces.context.FacesContext arg0)
getViewState in class javax.faces.application.StateManagerpublic javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext arg0,
String arg1,
String arg2)
restoreView in class javax.faces.application.StateManagerpublic void writeState(javax.faces.context.FacesContext arg0,
javax.faces.application.StateManager.SerializedView arg1)
writeState in class javax.faces.application.StateManagerpublic void writeState(javax.faces.context.FacesContext arg0,
Object arg1)
writeState in class javax.faces.application.StateManagerpublic javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext arg0)
saveSerializedView in class javax.faces.application.StateManagerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.