|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPersist
This interface define the basic functionnality who need to be implemented to realize the persistence of a parameter. To do this, it has to be able to persist the parameter and also to be able to restore it. Please note that all restore function will only be use when the CPE start, but the persist will be invocated at each modification of a saved parameter, so implement it with attention.
Method Summary | |
---|---|
void |
persist(java.lang.String key,
java.lang.String[] subscribers,
int notification,
java.lang.Object value,
int type)
Persist the parameter will all his information. |
int |
restoreParameterNotification(java.lang.String name)
Restore parameter notification. |
java.lang.String[] |
restoreParameterSubscriber(java.lang.String name)
Restore parameter subscriber. |
java.lang.Object |
restoreParameterValue(java.lang.String name,
int type)
Restore parameter value. |
Method Detail |
---|
void persist(java.lang.String key, java.lang.String[] subscribers, int notification, java.lang.Object value, int type)
key
- the keysubscribers
- the subscribersnotification
- the notificationvalue
- the valuetype
- the typejava.lang.Object restoreParameterValue(java.lang.String name, int type)
name
- the nametype
- the type
java.lang.String[] restoreParameterSubscriber(java.lang.String name)
name
- the name
int restoreParameterNotification(java.lang.String name)
name
- the name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |