Ontimize 5.2072EN

com.ontimize.gui.preferences
Interface RemoteApplicationPreferences

All Superinterfaces:
java.rmi.Remote, java.io.Serializable
All Known Implementing Classes:
BasicRemoteApplicationPreferences, DatabaseApplicationPreferences

public interface RemoteApplicationPreferences
extends java.io.Serializable, java.rmi.Remote


Field Summary
static java.lang.String KEY_USER_PREFERENCE
           
 
Method Summary
 java.lang.String getRemotePreference(int sessionId, java.lang.String user, java.lang.String preferenceName)
          Method to get the preferences remotely.
 void loadRemotePreferences(int sessionId)
          Method to load the preferences from the preferences file remotely.
 void saveRemotePreferences(int sessionId)
          Method to save the preferences stored into the buffer to the preferences file remotely.
 void setRemotePreference(int sessionId, java.lang.String user, java.lang.String preferenceName, java.lang.String value)
          Method to set the preferences remotely.
 

Field Detail

KEY_USER_PREFERENCE

public static final java.lang.String KEY_USER_PREFERENCE
See Also:
Constant Field Values
Method Detail

getRemotePreference

public java.lang.String getRemotePreference(int sessionId,
                                            java.lang.String user,
                                            java.lang.String preferenceName)
                                     throws java.lang.Exception
Method to get the preferences remotely.

Parameters:
sessionId - The session ID.
user - String with the user.
preferenceName - String with the preference name.
Returns:
a String with the preferences.
Throws:
java.lang.Exception

setRemotePreference

public void setRemotePreference(int sessionId,
                                java.lang.String user,
                                java.lang.String preferenceName,
                                java.lang.String value)
                         throws java.lang.Exception
Method to set the preferences remotely.

Parameters:
sessionId - The session ID.
user - String with the user.
preferenceName - String with the preference name.
value - String with the preference value.
Throws:
java.lang.Exception

saveRemotePreferences

public void saveRemotePreferences(int sessionId)
                           throws java.lang.Exception
Method to save the preferences stored into the buffer to the preferences file remotely.

Parameters:
sessionId - The session ID.
Throws:
java.lang.Exception

loadRemotePreferences

public void loadRemotePreferences(int sessionId)
                           throws java.lang.Exception
Method to load the preferences from the preferences file remotely.

Parameters:
sessionId - The session ID.
Throws:
java.lang.Exception

Ontimize