public class PersistTableStateServiceImpl extends Object implements PersistTableStateService
PersistTableStateService
.PersistTableStateService.PersistTableStateServiceVAttachment
Modifier and Type | Method and Description |
---|---|
Optional<VAttachment> |
getPersistedState(VControl control)
This methods gives access to previsouly persisted state attachments.
|
void |
registerAdditionalControls(VControl... controls)
Use this method if a non
VTableControl
VControl renders a table and wishes to persist the state. |
public void registerAdditionalControls(VControl... controls)
PersistTableStateService
Use this method if a non VTableControl
VControl
renders a table and wishes to persist the state.
The service will look for an VAttachment
with the PersistTableStateService.PersistTableStateServiceVAttachment
marker
interface and will persist this attachment for the given control.
This method may be called multiple times.
registerAdditionalControls
in interface PersistTableStateService
controls
- the additional controls to registers.public Optional<VAttachment> getPersistedState(VControl control)
PersistTableStateService
getPersistedState
in interface PersistTableStateService
control
- the controlCopyright © 2016. All rights reserved.