|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model22.impl.preferences.MappedPreferences
Field Summary | |
java.util.Map |
map
|
Constructor Summary | |
MappedPreferences()
Hibernate constructor. |
|
MappedPreferences(java.lang.String id)
|
Method Summary | |
java.util.Map |
getContent()
|
java.lang.String |
getId()
|
java.lang.Long |
getKey()
|
java.util.Set |
getKeys()
Return the key set of the map. |
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)
|
protected MappedPreference |
newPreference(java.lang.String name,
Value value)
Override to provide the implementation object. |
void |
setContent(java.util.Map content)
|
void |
setId(java.lang.String id)
Called by hibernate. |
void |
setKey(java.lang.Long key)
Called by hibernate. |
void |
setReadOnly(java.lang.String key,
boolean readOnly)
|
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 |
Field Detail |
public java.util.Map map
Constructor Detail |
public MappedPreferences()
public MappedPreferences(java.lang.String id)
Method Detail |
public java.lang.Long getKey()
public void setKey(java.lang.Long key)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.util.Map getContent()
public void setContent(java.util.Map content)
public java.util.Set getKeys()
ValueMap
public Value getValue(java.lang.String key)
ValueMap
key
- the requested key
public void setValue(java.lang.String key, Value value)
ValueMap
key
- the key to updatevalue
- the new valuepublic boolean isReadOnly(java.lang.String key) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void setReadOnly(java.lang.String key, boolean readOnly) throws java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
protected MappedPreference newPreference(java.lang.String name, Value value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |