|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ontimize.gui.preferences.DatabaseApplicationPreferences
| Field Summary | |
static java.lang.String |
ENTITY_NAME
|
protected java.lang.String |
entityName
Preference's entity name. |
static java.lang.String |
ID
|
protected java.lang.String |
idCol
Table column name of the IDs. |
protected java.lang.Object |
idValule
Value of the ID column. |
protected EntityReferenceLocator |
locator
|
static java.lang.String |
PREFERENCE_NAME
|
static java.lang.String |
PREFERENCE_VALUE
|
protected java.lang.String |
prefNameCol
Table column name of the Preference Names. |
protected java.lang.String |
prefValueCol
Table column name of the Preference Values. |
static java.lang.String |
USE_PRIVILEGED_ID
|
protected boolean |
usePrivilegedId
|
static java.lang.String |
USER
|
protected java.lang.String |
userNameCol
Table column name of the Users. |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface com.ontimize.gui.preferences.RemoteApplicationPreferences |
KEY_USER_PREFERENCE |
| Constructor Summary | |
DatabaseApplicationPreferences(int port,
java.util.Hashtable param,
EntityReferenceLocator locator)
Constructs a new DatabaseApplicationPreferences. |
|
| Method Summary | |
Entity |
getEntityReference(java.lang.String entityName)
|
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. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ID
public static final java.lang.String USER
public static final java.lang.String PREFERENCE_NAME
public static final java.lang.String PREFERENCE_VALUE
public static final java.lang.String ENTITY_NAME
public static final java.lang.String USE_PRIVILEGED_ID
protected EntityReferenceLocator locator
protected java.lang.String entityName
protected java.lang.String idCol
protected java.lang.String userNameCol
protected java.lang.String prefNameCol
protected java.lang.String prefValueCol
protected java.lang.Object idValule
protected boolean usePrivilegedId
| Constructor Detail |
public DatabaseApplicationPreferences(int port,
java.util.Hashtable param,
EntityReferenceLocator locator)
throws java.rmi.RemoteException
port - The port.param - Hashtable with the parameterslocator - The locator.
| attribute | meaning |
| PreferenceId | The column name that contains the ID of the table |
| User | The column name with that contains name of the users |
| PreferenceName | The column name with that contains name of the preference |
| PreferenceValue | The column name that contains the value of the preference |
| EntityName | The name of the Entity of the preferences |
java.rmi.RemoteException| Method Detail |
public Entity getEntityReference(java.lang.String entityName)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getRemotePreference(int sessionId,
java.lang.String user,
java.lang.String preferenceName)
throws java.lang.Exception
RemoteApplicationPreferences
getRemotePreference in interface RemoteApplicationPreferencessessionId - The session ID.user - String with the user.preferenceName - String with the preference name.
String with the preferences.
java.lang.Exception
public void setRemotePreference(int sessionId,
java.lang.String user,
java.lang.String preferenceName,
java.lang.String value)
throws java.lang.Exception
RemoteApplicationPreferences
setRemotePreference in interface RemoteApplicationPreferencessessionId - The session ID.user - String with the user.preferenceName - String with the preference name.value - String with the preference value.
java.lang.Exception
public void loadRemotePreferences(int sessionId)
throws java.lang.Exception
RemoteApplicationPreferences
loadRemotePreferences in interface RemoteApplicationPreferencessessionId - The session ID.
java.lang.Exception
public void saveRemotePreferences(int sessionId)
throws java.lang.Exception
RemoteApplicationPreferences
saveRemotePreferences in interface RemoteApplicationPreferencessessionId - The session ID.
java.lang.Exception
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||