public class FacetEditorsStateManagerImpl extends FacetEditorsStateManager implements PersistentStateComponent<FacetEditorsStateManagerImpl.FacetEditorsStateBean>
Modifier and Type | Class and Description |
---|---|
static class |
FacetEditorsStateManagerImpl.FacetEditorsStateBean |
static class |
FacetEditorsStateManagerImpl.FacetTypeStateBean |
Constructor and Description |
---|
FacetEditorsStateManagerImpl() |
Modifier and Type | Method and Description |
---|---|
FacetEditorsStateManagerImpl.FacetEditorsStateBean |
getState() |
<T> T |
getState(FacetType<?,?> type,
java.lang.Class<T> aClass) |
void |
loadState(FacetEditorsStateManagerImpl.FacetEditorsStateBean state)
This method is called when new component state is loaded.
|
<T> void |
saveState(FacetType<?,?> type,
T state) |
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public <T> void saveState(FacetType<?,?> type, T state)
saveState
in class FacetEditorsStateManager
public <T> T getState(FacetType<?,?> type, java.lang.Class<T> aClass)
getState
in class FacetEditorsStateManager
public FacetEditorsStateManagerImpl.FacetEditorsStateBean getState()
getState
in interface PersistentStateComponent<FacetEditorsStateManagerImpl.FacetEditorsStateBean>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(FacetEditorsStateManagerImpl.FacetEditorsStateBean state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<FacetEditorsStateManagerImpl.FacetEditorsStateBean>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)