@Dependent public class ViewScopeStorageInViewState extends Object implements ViewScopeStorage
ViewScoped
,
ViewScopeManager
Constructor and Description |
---|
ViewScopeStorageInViewState() |
Modifier and Type | Method and Description |
---|---|
BeanStorage |
getBeanStorage(UUID id)
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.
|
public UUID getBeanStorageId()
ViewScopeStorage
getBeanStorageId
in interface ViewScopeStorage
public BeanStorage getBeanStorage(UUID id)
ViewScopeStorage
getBeanStorage
in interface ViewScopeStorage
id
- The bean storage identifier.public void setBeanStorage(UUID beanStorageId, BeanStorage beanStorage)
ViewScopeStorage
setBeanStorage
in interface ViewScopeStorage
beanStorageId
- The bean storage identifier.beanStorage
- The bean storage.Copyright © 2012–2017 OmniFaces. All rights reserved.