当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PropertyMapImpl - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.migration.model20.impl.user
Class PropertyMapImpl
java.lang.Object
org.jboss.portal.migration.model20.impl.user.PropertyMapImpl
- All Implemented Interfaces:
- java.util.Map, PropertyMap
- public class PropertyMapImpl
- extends java.lang.Object
- implements PropertyMap
A mutable map that expose user properties.
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary |
void |
clear()
Clear only dynamic properties. |
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value1)
|
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)
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object newValue)
|
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 |
PropertyMapImpl
public PropertyMapImpl(User20Impl user)
isReadOnly
public boolean isReadOnly(java.lang.Object key)
- Specified by:
isReadOnly
in interface PropertyMap
size
public int size()
- Specified by:
size
in interface java.util.Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
containsValue
public boolean containsValue(java.lang.Object value1)
- Specified by:
containsValue
in interface java.util.Map
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object newValue)
throws java.lang.IllegalArgumentException
- Specified by:
put
in interface java.util.Map
- Throws:
java.lang.IllegalArgumentException
- if the key is not modifiable
remove
public java.lang.Object remove(java.lang.Object key)
throws java.lang.IllegalArgumentException
- Only affect dynamic properties, otherwise it throws an IllegalArgumentException.
- Specified by:
remove
in interface java.util.Map
- Throws:
java.lang.IllegalArgumentException
- if the key is a not removable user property
clear
public void clear()
- Clear only dynamic properties.
- Specified by:
clear
in interface java.util.Map
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
entrySet
public java.util.Set entrySet()
- Returns an immutable collection of entries.
- Specified by:
entrySet
in interface java.util.Map
putAll
public void putAll(java.util.Map map)
- Specified by:
putAll
in interface java.util.Map