Package com.sun.faces.application.view
Class FaceletPartialStateManagementStrategy
- java.lang.Object
-
- jakarta.faces.view.StateManagementStrategy
-
- com.sun.faces.application.view.FaceletPartialStateManagementStrategy
-
public class FaceletPartialStateManagementStrategy extends StateManagementStrategy
The state management strategy for PSS.- Author:
- Manfred Riem ([email protected])
-
-
Constructor Summary
Constructors Constructor Description FaceletPartialStateManagementStrategy()
Constructor.FaceletPartialStateManagementStrategy(FacesContext context)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIViewRoot
restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.Object
saveView(FacesContext context)
Save the view.
-
-
-
Constructor Detail
-
FaceletPartialStateManagementStrategy
public FaceletPartialStateManagementStrategy()
Constructor.
-
FaceletPartialStateManagementStrategy
public FaceletPartialStateManagementStrategy(FacesContext context)
Constructor.- Parameters:
context
- the Faces context.
-
-
Method Detail
-
restoreView
public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.- Specified by:
restoreView
in classStateManagementStrategy
- Parameters:
context
- the Faces context.viewId
- the view id.renderKitId
- the render kit id.- Returns:
- the view root.
-
saveView
public Object saveView(FacesContext context)
Save the view.- Specified by:
saveView
in classStateManagementStrategy
- Parameters:
context
- the Faces context.- Returns:
- the saved view.
-
-