|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.application.StateManager
org.apache.myfaces.application.MyfacesStateManager
org.apache.myfaces.application.pss.PssJspStateManagerImpl
public class PssJspStateManagerImpl
Nested Class Summary | |
---|---|
protected static class |
PssJspStateManagerImpl.SerializedViewCollection
|
protected static class |
PssJspStateManagerImpl.SerializedViewKey
|
Nested classes/interfaces inherited from class javax.faces.application.StateManager |
---|
javax.faces.application.StateManager.SerializedView |
Field Summary |
---|
Fields inherited from class javax.faces.application.StateManager |
---|
STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER |
Constructor Summary | |
---|---|
PssJspStateManagerImpl()
|
Method Summary | |
---|---|
protected javax.faces.component.UIOutput |
createUIOutputComponent(javax.faces.context.FacesContext context)
|
protected javax.faces.component.UIComponent |
createUIOutputComponentFromString(javax.faces.context.FacesContext context,
java.lang.String content)
|
protected javax.faces.application.StateManager.SerializedView |
deserializeView(java.lang.Object state)
|
protected java.lang.Object |
getComponentStateToSave(javax.faces.context.FacesContext facesContext)
|
protected javax.faces.render.RenderKitFactory |
getRenderKitFactory()
|
protected javax.faces.application.StateManager.SerializedView |
getSerializedViewFromServletSession(javax.faces.context.FacesContext context,
java.lang.String viewId,
java.lang.String sequenceStr)
|
protected java.lang.Object |
getTreeStructureToSave(javax.faces.context.FacesContext facesContext)
Return an object which contains info about the UIComponent type of each node in the view tree. |
protected java.lang.Object |
getTreeToSave(javax.faces.context.FacesContext facesContext)
Return an object which contains info about the UIComponent type of each node in the view tree. |
protected boolean |
isCompressStateInSession(javax.faces.context.FacesContext context)
Reads the value of the org.apache.myfaces.COMPRESS_STATE_IN_SESSION context parameter. |
protected boolean |
isSerializeStateInSession(javax.faces.context.FacesContext context)
Reads the value of the org.apache.myfaces.SERIALIZE_STATE_IN_SESSION context parameter. |
java.lang.Object |
LoadTreeFromManager(javax.faces.context.FacesContext facesContext,
java.lang.String viewID)
|
java.lang.Object |
LoadUIViewRootFromManager(javax.faces.context.FacesContext facesContext,
java.lang.String viewID)
|
protected javax.faces.component.UIViewRoot |
restoreComponentState(javax.faces.context.FacesContext facesContext,
java.lang.String viewID,
java.lang.String renderKitId)
Given a tree of UIComponent objects created the default constructor for each node, retrieve saved state info (from either the client or the server) and walk the tree restoring the members of each node from the saved state information. |
protected void |
restoreComponentState(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot viewRoot,
java.lang.String renderKitId)
|
protected javax.faces.component.UIViewRoot |
restoreTreeStructure(javax.faces.context.FacesContext facesContext,
java.lang.String viewId,
java.lang.String renderKitId)
See getTreeStructureToSave. |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext facescontext,
java.lang.String viewId,
java.lang.String renderKitId)
|
protected java.lang.Object |
restoreViewRoot(javax.faces.context.FacesContext facesContext,
java.lang.Object storedView)
Return an object which contains info about the UIComponent type of each node in the view tree. |
javax.faces.application.StateManager.SerializedView |
saveSerializedView(javax.faces.context.FacesContext facesContext)
|
protected void |
saveSerializedViewInServletSession(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView serializedView)
|
void |
SaveTreeInManager(javax.faces.context.FacesContext facesContext)
|
protected java.lang.Object |
serializeView(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView serializedView)
|
void |
writeState(javax.faces.context.FacesContext facesContext,
javax.faces.application.StateManager.SerializedView serializedView)
|
void |
writeStateAsUrlParams(javax.faces.context.FacesContext facesContext,
javax.faces.application.StateManager.SerializedView serializedView)
MyFaces extension |
Methods inherited from class javax.faces.application.StateManager |
---|
isSavingStateInClient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PssJspStateManagerImpl()
Method Detail |
---|
protected java.lang.Object getComponentStateToSave(javax.faces.context.FacesContext facesContext)
getComponentStateToSave
in class javax.faces.application.StateManager
protected java.lang.Object getTreeStructureToSave(javax.faces.context.FacesContext facesContext)
getTreeStructureToSave
in class javax.faces.application.StateManager
protected java.lang.Object getTreeToSave(javax.faces.context.FacesContext facesContext)
protected java.lang.Object restoreViewRoot(javax.faces.context.FacesContext facesContext, java.lang.Object storedView)
protected javax.faces.component.UIViewRoot restoreComponentState(javax.faces.context.FacesContext facesContext, java.lang.String viewID, java.lang.String renderKitId)
protected javax.faces.component.UIViewRoot restoreTreeStructure(javax.faces.context.FacesContext facesContext, java.lang.String viewId, java.lang.String renderKitId)
restoreTreeStructure
in class javax.faces.application.StateManager
protected void restoreComponentState(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot viewRoot, java.lang.String renderKitId)
restoreComponentState
in class javax.faces.application.StateManager
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext facescontext, java.lang.String viewId, java.lang.String renderKitId)
restoreView
in class javax.faces.application.StateManager
protected javax.faces.component.UIComponent createUIOutputComponentFromString(javax.faces.context.FacesContext context, java.lang.String content)
protected javax.faces.component.UIOutput createUIOutputComponent(javax.faces.context.FacesContext context)
public void SaveTreeInManager(javax.faces.context.FacesContext facesContext) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public java.lang.Object LoadUIViewRootFromManager(javax.faces.context.FacesContext facesContext, java.lang.String viewID) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public java.lang.Object LoadTreeFromManager(javax.faces.context.FacesContext facesContext, java.lang.String viewID) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext facesContext) throws java.lang.IllegalStateException
saveSerializedView
in class javax.faces.application.StateManager
java.lang.IllegalStateException
public void writeState(javax.faces.context.FacesContext facesContext, javax.faces.application.StateManager.SerializedView serializedView) throws java.io.IOException
writeState
in class javax.faces.application.StateManager
java.io.IOException
public void writeStateAsUrlParams(javax.faces.context.FacesContext facesContext, javax.faces.application.StateManager.SerializedView serializedView) throws java.io.IOException
writeStateAsUrlParams
in class MyfacesStateManager
facesContext
- serializedView
-
java.io.IOException
protected javax.faces.render.RenderKitFactory getRenderKitFactory()
protected void saveSerializedViewInServletSession(javax.faces.context.FacesContext context, javax.faces.application.StateManager.SerializedView serializedView)
protected javax.faces.application.StateManager.SerializedView getSerializedViewFromServletSession(javax.faces.context.FacesContext context, java.lang.String viewId, java.lang.String sequenceStr)
protected java.lang.Object serializeView(javax.faces.context.FacesContext context, javax.faces.application.StateManager.SerializedView serializedView)
protected boolean isSerializeStateInSession(javax.faces.context.FacesContext context)
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
context parameter.
context
- FacesContext
for the request we are processing.
SERIALIZE_STATE_IN_SESSION_PARAM
protected boolean isCompressStateInSession(javax.faces.context.FacesContext context)
org.apache.myfaces.COMPRESS_STATE_IN_SESSION
context parameter.
context
- FacesContext
for the request we are processing.
COMPRESS_SERVER_STATE_PARAM
protected javax.faces.application.StateManager.SerializedView deserializeView(java.lang.Object state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |