com.francetelecom.admindm.persist
Interface IPersist


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.

Author:
Olivier Beyler

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

persist

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.

Parameters:
key - the key
subscribers - the subscribers
notification - the notification
value - the value
type - the type

restoreParameterValue

java.lang.Object restoreParameterValue(java.lang.String name,
                                       int type)
Restore parameter value.

Parameters:
name - the name
type - the type
Returns:
the object

restoreParameterSubscriber

java.lang.String[] restoreParameterSubscriber(java.lang.String name)
Restore parameter subscriber.

Parameters:
name - the name
Returns:
the string[]

restoreParameterNotification

int restoreParameterNotification(java.lang.String name)
Restore parameter notification.

Parameters:
name - the name
Returns:
the int


Copyright © 2011 FranceTelecom. All Rights Reserved.