|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gvsig.tools.service.spi.AbstractProviderServices org.gvsig.tools.service.spi.AbstractPersistentProviderServices
public abstract class AbstractPersistentProviderServices
Base Persistent ProviderServices
.
Constructor Summary | |
---|---|
AbstractPersistentProviderServices()
Empty constructor to be used only for persistence purposes. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.gvsig.tools.service.spi.AbstractProviderServices |
---|
getParameters, getService, setService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPersistentProviderServices()
Method Detail |
---|
public final void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public final void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
protected 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |