public class

MyJiraHomeStorageImpl

extends Object
implements MyJiraHomeStorage
java.lang.Object
   ↳ com.atlassian.jira.my_home.MyJiraHomeStorageImpl

Class Overview

Loads and stores the My JIRA Home in the user's preferences.

Summary

Public Constructors
MyJiraHomeStorageImpl(UserPreferencesManager userPreferencesManager, EventPublisher eventPublisher)
Public Methods
@Nonnull String load(User user)
Returns the home stored for the given user.
void store(User user, String home)
Stores the given home for the given user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.my_home.MyJiraHomeStorage

Public Constructors

public MyJiraHomeStorageImpl (UserPreferencesManager userPreferencesManager, EventPublisher eventPublisher)

Public Methods

@Nonnull public String load (User user)

Returns the home stored for the given user.

Parameters
user the user for which the home is requested
Returns
  • the home if found, else an empty string

public void store (User user, String home)

Stores the given home for the given user.

Parameters
user the user for which the home is stored
home the actual home to be stored