|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.server.plugins.preferences.MergedPreferenceSet
public class MergedPreferenceSet
Implements a preference set that use an merge strategy.
| Constructor Summary | |
|---|---|
MergedPreferenceSet(PreferenceSet[] sets,
MergeStrategy strategy)
|
|
| Method Summary | |
|---|---|
Preference |
getPreference(java.lang.String key)
Return the preference for the given key. |
Value |
getValue(java.lang.String key)
Return the value for the given key or null if it does not exist. |
boolean |
isReadOnly(java.lang.String key)
Return the read only value for the given preference. |
java.util.Set |
keySet()
Return the key set of all the preferences. |
void |
setReadOnly(java.lang.String key,
boolean readOnly)
Update the read only value for the given key. |
void |
setValue(java.lang.String key,
Value value)
Update the value of the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergedPreferenceSet(PreferenceSet[] sets,
MergeStrategy strategy)
| Method Detail |
|---|
public Preference getPreference(java.lang.String key)
PreferenceSet
getPreference in interface PreferenceSetkey - the requested key
public Value getValue(java.lang.String key)
PreferenceSet
getValue in interface PreferenceSetkey - the requested key
public boolean isReadOnly(java.lang.String key)
PreferenceSet
isReadOnly in interface PreferenceSetkey - the requested key
public java.util.Set keySet()
PreferenceSet
keySet in interface PreferenceSet
public void setReadOnly(java.lang.String key,
boolean readOnly)
PreferenceSet
setReadOnly in interface PreferenceSetkey - the key to updatereadOnly - the new read only value
public void setValue(java.lang.String key,
Value value)
PreferenceSet
setValue in interface PreferenceSetkey - the key to updatevalue - the new value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||