Class UserDetailsMap
java.lang.Object
com.atlassian.confluence.user.actions.UserDetailsMap
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserDetailsMap
(com.atlassian.user.User user, UserDetailsManager userDetailsManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Copies all the properties found in this parameter map into the user details manager.getProperty
(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
(org.apache.struts2.dispatcher.HttpParameters parameters) Converts the http parameters into a usable formatvoid
setProperty
(String key, String value)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
UserDetailsMap
-
-
Method Details
-
copyPropertiesToManager
public void copyPropertiesToManager()Copies all the properties found in this parameter map into the user details manager. -
getProperty
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
-
setParameters
public void setParameters(org.apache.struts2.dispatcher.HttpParameters parameters) Converts the http parameters into a usable format- Parameters:
parameters
- the HttpParameters
-