public abstract class AbstractPersistentProviderServices extends AbstractProviderServices implements Persistent
ProviderServices.| Constructor and Description |
|---|
AbstractPersistentProviderServices()
Empty constructor to be used only for persistence purposes.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doLoadFromState(PersistentState state)
Set the state of the child class persistent attributes from the state
passed as parameter.
|
protected abstract void |
doSaveToState(PersistentState state)
Saves the internal state of the child class persistent attributes on the
provided PersistentState object.
|
protected abstract DynClass |
getProviderServicesChildDynClass()
Return the
DynClass of the persisted attributes of the child
class. |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
getParameters, getService, setServicepublic AbstractPersistentProviderServices()
public final void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic final void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionprotected abstract DynClass getProviderServicesChildDynClass()
DynClass of the persisted attributes of the child
class.DynClass for persistence of the child service classprotected abstract void doLoadFromState(PersistentState state)
state - to load the attribute values fromPersistent.loadFromState(PersistentState)protected abstract void doSaveToState(PersistentState state)
state - to save the attribute values to