@Deprecated public final class Settings extends HashStructureAdapter implements Copyable
RescatPreferences
Use RescatPreferences.getInstance() to
access preferences| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY
Deprecated.
|
static java.lang.String |
KEY_SETTINGS
Deprecated.
String key to identify these options when persisted.
|
_hash| Constructor and Description |
|---|
Settings()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
copyTo(java.lang.Object target)
Deprecated.
Copy support.
|
java.lang.String |
getDefaultSecurityPrincipal()
Deprecated.
|
java.lang.String |
getFilter(java.lang.String path)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getFilterMap()
Deprecated.
|
HashStructure |
getFilters()
Deprecated.
|
static Settings |
getInstance(PropertyStorage prefs)
Deprecated.
|
boolean |
getPaletteVisible()
Deprecated.
|
java.lang.String |
getRcInstanceId()
Deprecated.
|
java.lang.String |
getRootMdsPackage()
Deprecated.
|
static Settings |
getSettings()
Deprecated.
|
static java.util.List<java.lang.String> |
getSettingsKeys()
Deprecated.
|
void |
removeFilters(java.lang.String root)
Deprecated.
Removes all filters below a path.
|
void |
renameFilter(java.lang.String oldPath,
java.lang.String newPath)
Deprecated.
|
void |
setDefaultSecurityPrincipal(java.lang.String defaultSecurityPrincipal)
Deprecated.
|
void |
setFilter(java.lang.String path,
java.lang.String expr)
Deprecated.
Adds or replace a filter on one specific path.
|
void |
setFilterMap(java.util.Map<java.lang.String,java.lang.String> filterMap)
Deprecated.
|
void |
setPaletteVisible(boolean bVisible)
Deprecated.
|
void |
setRcInstanceId(java.lang.String rcInstanceId)
Deprecated.
|
void |
setRootMdsPackage(java.lang.String rootMdsPackage)
Deprecated.
|
addStructureChangeListener, containsKey, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEqualspublic static final java.lang.String KEY
public static final java.lang.String KEY_SETTINGS
public static Settings getInstance(PropertyStorage prefs)
prefs - The storage holding the Settings, usually the Preferences.getPreferences() object.Settings adapter for the specified storage.public static java.util.List<java.lang.String> getSettingsKeys()
public static Settings getSettings()
public java.lang.Object copyTo(java.lang.Object target)
HashStructureAdaptercopyTo in interface CopyablecopyTo in class HashStructureAdaptertarget - The target object to which the state of
this object should be copied. If target
is null, then the copyTo method will
return a new instance of this class.this
object was copied. If the target was
non-null, then the return value is the same as the
target object that was passed in; otherwise, the
return value is a new instance of this class.public void setFilter(java.lang.String path,
java.lang.String expr)
public void removeFilters(java.lang.String root)
root - the root path from which filters must be removed.public void renameFilter(java.lang.String oldPath,
java.lang.String newPath)
public java.lang.String getFilter(java.lang.String path)
public java.lang.String getDefaultSecurityPrincipal()
public void setDefaultSecurityPrincipal(java.lang.String defaultSecurityPrincipal)
public java.lang.String getRcInstanceId()
public void setRcInstanceId(java.lang.String rcInstanceId)
public boolean getPaletteVisible()
public void setPaletteVisible(boolean bVisible)
public java.lang.String getRootMdsPackage()
public void setRootMdsPackage(java.lang.String rootMdsPackage)
public HashStructure getFilters()
public java.util.Map<java.lang.String,java.lang.String> getFilterMap()
public void setFilterMap(java.util.Map<java.lang.String,java.lang.String> filterMap)