public interface Savable
AbstractSavable
to create instances of this interface rather than implementing it
directly.Modifier and Type | Field and Description |
---|---|
static Lookup |
REGISTRY
Global registry of all
Savable s that are modified in the
application and subject to save by Save All action. |
Modifier and Type | Method and Description |
---|---|
void |
save()
Invoke the save operation.
|
String |
toString()
Human descriptive, localized name of the savable.
|
static final Lookup REGISTRY
Savable
s that are modified in the
application and subject to save by Save All action. See
AbstractSavable
for description how to register your own
implementation into the registry.void save() throws IOException
IOException
- if the object could not be saved