java.lang.Object
org.omnifaces.cdi.viewscope.ViewScopeStorageInViewState
- All Implemented Interfaces:
ViewScopeStorage
Stores view scoped bean instances in Faces view state itself.
- Since:
- 2.6
- Author:
- Bauke Scholtz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBeanStorage(UUID id) Returns the bean storage identified by given ID, or null if it does not exist.Returns currently active bean storage ID, or null if it does not exist.voidsetBeanStorage(UUID beanStorageId, BeanStorage beanStorage) Sets the given bean storage identified by the given ID.
-
Constructor Details
-
ViewScopeStorageInViewState
public ViewScopeStorageInViewState()
-
-
Method Details
-
getBeanStorageId
Description copied from interface:ViewScopeStorageReturns currently active bean storage ID, or null if it does not exist.- Specified by:
getBeanStorageIdin interfaceViewScopeStorage- Returns:
- Currently active bean storage ID, or null if it does not exist.
-
getBeanStorage
Description copied from interface:ViewScopeStorageReturns the bean storage identified by given ID, or null if it does not exist.- Specified by:
getBeanStoragein interfaceViewScopeStorage- Parameters:
id- The bean storage identifier.- Returns:
- The bean storage identified by given ID, or null if it does not exist.
-
setBeanStorage
Description copied from interface:ViewScopeStorageSets the given bean storage identified by the given ID.- Specified by:
setBeanStoragein interfaceViewScopeStorage- Parameters:
beanStorageId- The bean storage identifier.beanStorage- The bean storage.
-