com.atlassian.jira.user
Class DefaultUserPropertyManager

java.lang.Object
  extended by com.atlassian.jira.user.DefaultUserPropertyManager
All Implemented Interfaces:
UserPropertyManager

public class DefaultUserPropertyManager
extends Object
implements UserPropertyManager


Constructor Summary
DefaultUserPropertyManager(UserKeyStore userKeyStore, JiraPropertySetFactory propertySetFactory)
           
 
Method Summary
 com.opensymphony.module.propertyset.PropertySet getPropertySet(ApplicationUser user)
          Get the property set associated with a user.
 com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
          Get the property set associated with a user.
 com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(String userKey)
          Get the property set associated with a user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserPropertyManager

public DefaultUserPropertyManager(UserKeyStore userKeyStore,
                                  JiraPropertySetFactory propertySetFactory)
Method Detail

getPropertySet

@Nonnull
public com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull
                                                                              ApplicationUser user)
Description copied from interface: UserPropertyManager
Get the property set associated with a user.

Specified by:
getPropertySet in interface UserPropertyManager
Parameters:
user - the user that the property set is associated with.
Returns:
the property set for this user

getPropertySet

@Nonnull
public com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull
                                                                              com.atlassian.crowd.embedded.api.User user)
Description copied from interface: UserPropertyManager
Get the property set associated with a user.

Specified by:
getPropertySet in interface UserPropertyManager
Parameters:
user - the user that the property set is associated with.
Returns:
property set

getPropertySetForUserKey

@Nonnull
public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(@Nonnull
                                                                                        String userKey)
Description copied from interface: UserPropertyManager
Get the property set associated with a user.

Specified by:
getPropertySetForUserKey in interface UserPropertyManager
Parameters:
userKey - the key for the user that the property set is associated with.
Returns:
property set


Copyright © 2002-2014 Atlassian. All Rights Reserved.