com.atlassian.jira.user
Class MockUserPropertyManager

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

public class MockUserPropertyManager
extends Object
implements UserPropertyManager

Since:
v6.2.3

Constructor Summary
MockUserPropertyManager()
           
 
Method Summary
 com.opensymphony.module.propertyset.PropertySet createOrGetForKey(String key)
           
 com.opensymphony.module.propertyset.PropertySet createOrGetForUser(ApplicationUser user)
           
 com.opensymphony.module.propertyset.PropertySet createOrGetForUser(com.atlassian.crowd.embedded.api.User user)
           
 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

MockUserPropertyManager

public MockUserPropertyManager()
Method Detail

getPropertySet

public com.opensymphony.module.propertyset.PropertySet getPropertySet(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

public com.opensymphony.module.propertyset.PropertySet getPropertySet(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

public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(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

createOrGetForUser

public com.opensymphony.module.propertyset.PropertySet createOrGetForUser(com.atlassian.crowd.embedded.api.User user)

createOrGetForUser

public com.opensymphony.module.propertyset.PropertySet createOrGetForUser(ApplicationUser user)

createOrGetForKey

public com.opensymphony.module.propertyset.PropertySet createOrGetForKey(String key)


Copyright © 2002-2014 Atlassian. All Rights Reserved.