Package io.jmix.flowui.facet.settings
Class AbstractViewSettings
java.lang.Object
io.jmix.flowui.facet.settings.AbstractViewSettings
- All Implemented Interfaces:
ViewSettings
- Direct Known Subclasses:
ViewSettingsJson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setModified
(boolean modified) Set totrue
if screen settings changed manually.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.facet.settings.ViewSettings
delete, delete, getBoolean, getDouble, getInteger, getLong, getSettings, getSettingsOrCreate, getString, initialize, put, put, put, put, put, put, serialize
-
Field Details
-
viewId
-
modified
protected boolean modified
-
-
Constructor Details
-
AbstractViewSettings
-
-
Method Details
-
getViewId
- Specified by:
getViewId
in interfaceViewSettings
- Returns:
- a
View
id to which settings are corresponded
-
setModified
public void setModified(boolean modified) Description copied from interface:ViewSettings
Set totrue
if screen settings changed manually. It guarantees that settings will be persisted.- Specified by:
setModified
in interfaceViewSettings
- Parameters:
modified
- whether settings were modified
-
isModified
public boolean isModified()- Specified by:
isModified
in interfaceViewSettings
- Returns:
true
if settings were modified
-