Class MockUserPropertyManager

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

public class MockUserPropertyManager extends Object implements UserPropertyManager
Since:
v6.2.3
  • 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 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(long userId)
      Description copied from interface: UserPropertyManager
      Get the property set associated with a user.
      Specified by:
      getPropertySet in interface UserPropertyManager
      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 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(ApplicationUser user)