org.jboss.test.faces.mock.application
Class MockStateManager
java.lang.Object
javax.faces.application.StateManager
org.jboss.test.faces.mock.application.MockStateManager
- All Implemented Interfaces:
- FacesMockController.MockObject
public class MockStateManager
- extends javax.faces.application.StateManager
- implements FacesMockController.MockObject
| Nested classes/interfaces inherited from class javax.faces.application.StateManager |
javax.faces.application.StateManager.SerializedView |
| Fields inherited from class javax.faces.application.StateManager |
FULL_STATE_SAVING_VIEW_IDS_PARAM_NAME, IS_BUILDING_INITIAL_STATE, IS_SAVING_STATE, PARTIAL_STATE_SAVING_PARAM_NAME, STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER |
| Methods inherited from class javax.faces.application.StateManager |
getComponentStateToSave, getTreeStructureToSave, restoreComponentState, restoreTreeStructure |
MockStateManager
public MockStateManager()
- Default constructor
MockStateManager
public MockStateManager(org.easymock.IMocksControl control,
String name)
- Parameters:
control -
getControl
public org.easymock.IMocksControl getControl()
- Specified by:
getControl in interface FacesMockController.MockObject
restoreView
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext arg0,
String arg1,
String arg2)
- Specified by:
restoreView in class javax.faces.application.StateManager
writeState
public void writeState(javax.faces.context.FacesContext arg0,
Object arg1)
- Overrides:
writeState in class javax.faces.application.StateManager
writeState
public void writeState(javax.faces.context.FacesContext arg0,
javax.faces.application.StateManager.SerializedView arg1)
- Overrides:
writeState in class javax.faces.application.StateManager
saveSerializedView
public javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext arg0)
- Overrides:
saveSerializedView in class javax.faces.application.StateManager
saveView
public Object saveView(javax.faces.context.FacesContext arg0)
- Overrides:
saveView in class javax.faces.application.StateManager
isSavingStateInClient
public boolean isSavingStateInClient(javax.faces.context.FacesContext arg0)
- Overrides:
isSavingStateInClient in class javax.faces.application.StateManager
getViewState
public String getViewState(javax.faces.context.FacesContext arg0)
- Overrides:
getViewState in class javax.faces.application.StateManager
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.