Package lumis.portal.user
Class UserPropertiesCustomAttributes
- java.lang.Object
-
- lumis.portal.user.UserPropertiesCustomAttributes
-
- All Implemented Interfaces:
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
public class UserPropertiesCustomAttributes extends java.lang.Object implements java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
This class remain custom attributes forUserProperties
. It is responsible for callUserProperties.setAttributesDirty()
for any changed. This class also will remains the synchronization for both methods:UserProperties.getCustomAttributes()
andUserProperties.getCustomAttributesMap()
.- Since:
- 14.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description UserPropertiesCustomAttributes(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,java.lang.String>> map, UserProperties userProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
java.util.Set<java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>>
entrySet()
boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.lang.String>
get(java.lang.Object key)
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<java.lang.Object>>>
getCustomAttributesMap()
Returns a synchronized map with Listboolean
isEmpty()
java.util.Set<java.lang.String>
keySet()
java.util.Map<java.lang.String,java.lang.String>
put(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> value)
void
putAll(java.util.Map<? extends java.lang.String,? extends java.util.Map<java.lang.String,java.lang.String>> m)
java.util.Map<java.lang.String,java.lang.String>
remove(java.lang.Object key)
int
size()
java.util.Collection<java.util.Map<java.lang.String,java.lang.String>>
values()
-
-
-
Constructor Detail
-
UserPropertiesCustomAttributes
public UserPropertiesCustomAttributes(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,java.lang.String>> map, UserProperties userProperties)
-
-
Method Detail
-
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
put
public java.util.Map<java.lang.String,java.lang.String> put(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> value)
- Specified by:
put
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
remove
public java.util.Map<java.lang.String,java.lang.String> remove(java.lang.Object key)
- Specified by:
remove
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
putAll
public void putAll(java.util.Map<? extends java.lang.String,? extends java.util.Map<java.lang.String,java.lang.String>> m)
- Specified by:
putAll
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
get
public java.util.Map<java.lang.String,java.lang.String> get(java.lang.Object key)
- Specified by:
get
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
keySet
public java.util.Set<java.lang.String> keySet()
- Specified by:
keySet
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
values
public java.util.Collection<java.util.Map<java.lang.String,java.lang.String>> values()
- Specified by:
values
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
- Overrides:
equals
in classjava.lang.Object
-
getCustomAttributesMap
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<java.lang.Object>>> getCustomAttributesMap()
Returns a synchronized map with List- Returns:
- a synchronized map with List
- Since:
- 14.0.0
-
-