|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.options.OptionsRepository
public class OptionsRepository
Options data repository. Persistent profiles, settings data. And the RimRepository now only should be responsible to load these data. It's the responsibility of Option module to init/modify/save these data.
Method Summary | |
---|---|
OptionsDefinition |
getOptionDefinition(java.lang.String clientName)
|
static OptionsRepository |
getOptionsRepository()
|
long |
getPersistentKey(java.lang.String key,
java.lang.String clientName)
This method will return the persistent key for a specific package |
ClientProfileList |
loadClientProfileList(boolean force,
OptionsDefinition optionsDef)
Loads the profiles object that was persisted, if any. |
ClientProfileList |
loadClientProfileList(boolean force,
java.lang.String clientName)
Loads the profiles object that was persisted, if any. |
Settings |
loadSettings(boolean force,
OptionsDefinition optionsDef)
Loads the settings object that was persisted, if any. |
Settings |
loadSettings(boolean force,
java.lang.String clientName)
Loads the settings object that was persisted, if any. |
void |
saveClientProfileList(ClientProfileList profileList,
OptionsDefinition optionsDef)
Persists the profiles object. |
void |
saveClientProfileList(ClientProfileList profileList,
java.lang.String clientName)
Persists the profiles object. |
void |
saveSettings(Settings settings,
OptionsDefinition optionsDef)
Persists the settings object. |
void |
saveSettings(Settings settings,
java.lang.String clientName)
Persists the settings object. |
void |
setOptionDefinition(OptionsDefinition optionDef)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OptionsRepository getOptionsRepository()
public void setOptionDefinition(OptionsDefinition optionDef)
public OptionsDefinition getOptionDefinition(java.lang.String clientName)
public ClientProfileList loadClientProfileList(boolean force, OptionsDefinition optionsDef) throws RepositoryException
RepositoryException
public ClientProfileList loadClientProfileList(boolean force, java.lang.String clientName) throws RepositoryException
RepositoryException
public Settings loadSettings(boolean force, OptionsDefinition optionsDef) throws RepositoryException
RepositoryException
public Settings loadSettings(boolean force, java.lang.String clientName) throws RepositoryException
RepositoryException
public void saveClientProfileList(ClientProfileList profileList, OptionsDefinition optionsDef) throws RepositoryException
RepositoryException
public void saveClientProfileList(ClientProfileList profileList, java.lang.String clientName) throws RepositoryException
profileList
- client
- name
RepositoryException
public void saveSettings(Settings settings, OptionsDefinition optionsDef) throws RepositoryException
RepositoryException
public void saveSettings(Settings settings, java.lang.String clientName) throws RepositoryException
RepositoryException
public long getPersistentKey(java.lang.String key, java.lang.String clientName)
key
- - The key for the persistent classclientName
- - The name of client application
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |