com.atlassian.confluence.user.actions
Class UserDetailsMap
java.lang.Object
com.atlassian.confluence.user.actions.UserDetailsMap
public class UserDetailsMap
- extends java.lang.Object
Holds a map of dynamic parameters for user fields used to store extended properties. The main responsibility
of this class is to store and convert the http parameters received from the HttpRequest into a useable format.
- See Also:
UserDetailsManager
Field Summary |
static java.lang.String |
PREFIX
|
Method Summary |
void |
copyPropertiesToManager()
Copies all the properties found in this parameter map into the user details manager. |
java.lang.String |
getProperty(java.lang.String key)
Returns the user property from the map, if not available looks it up
for the specified user in the user details manager. |
void |
setParameters(java.util.Map<java.lang.String,java.lang.Object> map)
Converts the http parameters into a usable format |
void |
setProperty(java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
UserDetailsMap
public UserDetailsMap(com.atlassian.user.User user,
UserDetailsManager userDetailsManager)
copyPropertiesToManager
public void copyPropertiesToManager()
- Copies all the properties found in this parameter map into the user details manager.
getProperty
public java.lang.String getProperty(java.lang.String key)
- Returns the user property from the map, if not available looks it up
for the specified user in the user details manager.
- Parameters:
key
- the parameter key
- Returns:
- the property or null if its not in the map or not ever persisted
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.Object> map)
- Converts the http parameters into a usable format
- Parameters:
map
- the parameter map
Copyright © 2003-2013 Atlassian. All Rights Reserved.