-
- All Known Implementing Classes:
ViewScopeStorageInSession
,ViewScopeStorageInViewState
public interface ViewScopeStorage
Interface for view scope bean storage.- Since:
- 2.6
- Author:
- Bauke Scholtz
- See Also:
ViewScoped
,ViewScopeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanStorage
getBeanStorage(UUID beanStorageId)
Returns the bean storage identified by given ID, or null if it does not exist.UUID
getBeanStorageId()
Returns currently active bean storage ID, or null if it does not exist.void
setBeanStorage(UUID beanStorageId, BeanStorage beanStorage)
Sets the given bean storage identified by the given ID.
-
-
-
Method Detail
-
getBeanStorageId
UUID getBeanStorageId()
Returns currently active bean storage ID, or null if it does not exist.- Returns:
- Currently active bean storage ID, or null if it does not exist.
-
getBeanStorage
BeanStorage getBeanStorage(UUID beanStorageId)
Returns the bean storage identified by given ID, or null if it does not exist.- Parameters:
beanStorageId
- The bean storage identifier.- Returns:
- The bean storage identified by given ID, or null if it does not exist.
-
setBeanStorage
void setBeanStorage(UUID beanStorageId, BeanStorage beanStorage)
Sets the given bean storage identified by the given ID.- Parameters:
beanStorageId
- The bean storage identifier.beanStorage
- The bean storage.
-
-