|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.identity.db.ProfileMapImpl
A mutable map that expose user properties.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
private UserImpl |
user
. |
Constructor Summary | |
ProfileMapImpl(UserImpl user)
|
Method Summary | |
void |
clear()
Clear only dynamic properties. |
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
Returns an immutable collection of entries. |
java.lang.Object |
get(java.lang.Object key)
|
boolean |
isEmpty()
|
boolean |
isReadOnly(java.lang.Object key)
Return true if the profile value is read only. |
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object newValue)
Put a value in the dynamic map. |
void |
putAll(java.util.Map map)
|
java.lang.Object |
remove(java.lang.Object key)
Only affect dynamic properties, otherwise it throws an IllegalArgumentException. |
int |
size()
|
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
private UserImpl user
Constructor Detail |
public ProfileMapImpl(UserImpl user)
Method Detail |
public boolean isReadOnly(java.lang.Object key)
ProfileMap
isReadOnly
in interface ProfileMap
key
-
public int size()
size
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public boolean containsKey(java.lang.Object key) throws java.lang.ClassCastException
containsKey
in interface java.util.Map
java.lang.ClassCastException
- if the key is not an instance of stringpublic boolean containsValue(java.lang.Object value) throws java.lang.ClassCastException
containsValue
in interface java.util.Map
java.lang.ClassCastException
- if the value is not an instance of stringpublic java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
java.lang.ClassCastException
- if the key is not an instance of stringpublic java.lang.Object put(java.lang.Object key, java.lang.Object newValue) throws java.lang.IllegalArgumentException
put
in interface java.util.Map
java.lang.IllegalArgumentException
public java.lang.Object remove(java.lang.Object key) throws java.lang.IllegalArgumentException
remove
in interface java.util.Map
java.lang.IllegalArgumentException
- if the key is a not a dynamic propertypublic void clear()
clear
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |