Intermud
public interface Persistent
Modifier and Type | Field | Description |
---|---|---|
static int |
DELETED |
The Persistent needs to be deleted from the data store.
|
static int |
MODIFIED |
The Peersistence has been modified since last save
or restore.
|
static int |
NEW |
The Persistent is a brand new object.
|
static int |
UNMODIFIED |
The Persistent has not yet been modified since last
save or restore.
|
Modifier and Type | Method | Description |
---|---|---|
void |
restore() |
Prescribes a method for restoration from a data
store.
|
void |
save() |
Prescribes a method for saving this object's data
to a data store.
|
static final int UNMODIFIED
static final int MODIFIED
static final int NEW
static final int DELETED
void restore() throws PersistenceException
PersistenceException
- thrown when an error occurs in restoringPersistentPeer
void save() throws PersistenceException
PersistenceException
- thrown when an error occurs in savingPersistentPeer