Interface ViewStatePersistenceProvider
-
- All Known Implementing Classes:
ContentEditorBrowserSectionModel
public interface ViewStatePersistenceProviderProvides 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 Classes Modifier and Type Interface Description static interfaceViewStatePersistenceProvider.ViewStatePersisteableRepresents a view component that wants to useViewStatePersistenceProviderThe only requirement for such a component is to provide a unique id of itself.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearViewStateForComponent(ViewStatePersistenceProvider.ViewStatePersisteable viewComponent)java.util.Map<java.lang.String,java.lang.Object>getViewStateForComponent(ViewStatePersistenceProvider.ViewStatePersisteable viewComponent)
-
-
-
Method Detail
-
getViewStateForComponent
java.util.Map<java.lang.String,java.lang.Object> getViewStateForComponent(ViewStatePersistenceProvider.ViewStatePersisteable viewComponent)
-
clearViewStateForComponent
void clearViewStateForComponent(ViewStatePersistenceProvider.ViewStatePersisteable viewComponent)
-
-