Package com.atlassian.jira.user
Class MockUserPropertyManager
java.lang.Object
com.atlassian.jira.user.MockUserPropertyManager
- All Implemented Interfaces:
UserPropertyManager
- Since:
- v6.2.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertySet
getPropertySet
(long userId) Get the property set associated with a user.com.opensymphony.module.propertyset.PropertySet
Get the property set associated with a user.com.opensymphony.module.propertyset.PropertySet
getPropertySetForUserKey
(String userKey) Get the property set associated with a user.
-
Constructor Details
-
MockUserPropertyManager
public MockUserPropertyManager()
-
-
Method Details
-
getPropertySet
@Nonnull 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 interfaceUserPropertyManager
- 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(long userId) Description copied from interface:UserPropertyManager
Get the property set associated with a user.- Specified by:
getPropertySet
in interfaceUserPropertyManager
- Parameters:
userId
- the ID of a user that the property set is associated with.- Returns:
- the property set for this user
-
getPropertySetForUserKey
@Nonnull 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 interfaceUserPropertyManager
- Parameters:
userKey
- the key for the user that the property set is associated with.- Returns:
- property set
-
createOrGetForUser
-