Interface ViewStatePersistenceProvider
- All Known Implementing Classes:
ContentEditorBrowserSectionModel
public interface ViewStatePersistenceProvider
Provides view state persistence service for cockpit components that must preserve their view state across full
re-creation/re-render process. Each component can have it's own map of objects for storing view-state. This contract
is weak, but at the moment cockpit framework does not define any "view state" representation, so an ad-hoc solution
is employed here.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a view component that wants to useViewStatePersistenceProviderThe only requirement for such a component is to provide a unique id of itself. -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
getViewStateForComponent
Map<String,Object> getViewStateForComponent(ViewStatePersistenceProvider.ViewStatePersisteable viewComponent) -
clearViewStateForComponent
-